aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsilby <[email protected]>2024-12-01 22:09:12 -0800
committerGitHub <[email protected]>2024-12-01 22:09:12 -0800
commit9f6f2c843dda9780ff64d94de72547d497edbe0c (patch)
tree38e5c63bbca2975e88520908da974f079a478cc6
parent561e1de8cb83334391f54284c667c7a478089225 (diff)
Fix comments in TEI writer referring to DocBook (#10430)
-rw-r--r--src/Text/Pandoc/Writers/TEI.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Text/Pandoc/Writers/TEI.hs b/src/Text/Pandoc/Writers/TEI.hs
index bb65107c4..d341bfb70 100644
--- a/src/Text/Pandoc/Writers/TEI.hs
+++ b/src/Text/Pandoc/Writers/TEI.hs
@@ -1,7 +1,7 @@
{-# 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
@@ -9,7 +9,7 @@
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