Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix comments in TEI writer referring to DocBook #10430

Merged
merged 1 commit into from
Dec 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/Text/Pandoc/Writers/TEI.hs
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)
Expand All @@ -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
Expand Down