-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix comments in TEI writer referring to DocBook (#10430)
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
{-# LANGUAGE OverloadedStrings #-} | ||
{-# LANGUAGE PatternGuards #-} | ||
{- | | ||
Module : Text.Pandoc.Writers.Docbook | ||
Module : Text.Pandoc.Writers.TEI | ||
Copyright : Copyright (C) 2006-2024 John MacFarlane | ||
License : GNU GPL, version 2 or above | ||
Maintainer : John MacFarlane <[email protected]> | ||
Stability : alpha | ||
Portability : portable | ||
Conversion of 'Pandoc' documents to Docbook XML. | ||
Conversion of 'Pandoc' documents to TEI XML | ||
-} | ||
module Text.Pandoc.Writers.TEI (writeTEI) where | ||
import Data.Text (Text) | ||
|
@@ -27,7 +27,7 @@ import Text.Pandoc.Templates (renderTemplate) | |
import Text.Pandoc.Writers.Shared | ||
import Text.Pandoc.XML | ||
|
||
-- | Convert Pandoc document to string in Docbook format. | ||
-- | Convert Pandoc document to string in TEI XML format. | ||
writeTEI :: PandocMonad m => WriterOptions -> Pandoc -> m Text | ||
writeTEI opts doc = do | ||
let Pandoc meta blocks = ensureValidXmlIdentifiers doc | ||
|