diff options
-rw-r--r-- | src/Text/Pandoc/XML/Light/Output.hs | 6 | ||||
-rw-r--r-- | src/Text/Pandoc/XML/Light/Proc.hs | 4 | ||||
-rw-r--r-- | src/Text/Pandoc/XML/Light/Types.hs | 5 |
3 files changed, 12 insertions, 3 deletions
diff --git a/src/Text/Pandoc/XML/Light/Output.hs b/src/Text/Pandoc/XML/Light/Output.hs index dc94ce914..8182ef2ec 100644 --- a/src/Text/Pandoc/XML/Light/Output.hs +++ b/src/Text/Pandoc/XML/Light/Output.hs @@ -2,12 +2,16 @@ {-# LANGUAGE OverloadedStrings #-} {- | Module : Text.Pandoc.XML.Light.Output - Copyright : Copyright (C) 2021 John MacFarlane + Copyright : Copyright (C) 2007 Galois, Inc., 2021 John MacFarlane License : GNU GPL, version 2 or above + Maintainer : John MacFarlane <jgm@berkeley.edu> Stability : alpha Portability : portable + + This code is based on code from xml-light, released under the BSD3 license. + We use a text Builder instead of ShowS. -} module Text.Pandoc.XML.Light.Output ( -- * Replacement for xml-light's Text.XML.Output diff --git a/src/Text/Pandoc/XML/Light/Proc.hs b/src/Text/Pandoc/XML/Light/Proc.hs index 838d5af74..b53c4b545 100644 --- a/src/Text/Pandoc/XML/Light/Proc.hs +++ b/src/Text/Pandoc/XML/Light/Proc.hs @@ -2,12 +2,14 @@ {-# LANGUAGE OverloadedStrings #-} {- | Module : Text.Pandoc.XML.Light.Proc - Copyright : Copyright (C) 2021 John MacFarlane + Copyright : Copyright (C) 2007 Galois, Inc., 2021 John MacFarlane License : GNU GPL, version 2 or above Maintainer : John MacFarlane <jgm@berkeley.edu> Stability : alpha Portability : portable + + This code is taken from xml-light, released under the BSD3 license. -} module Text.Pandoc.XML.Light.Proc ( diff --git a/src/Text/Pandoc/XML/Light/Types.hs b/src/Text/Pandoc/XML/Light/Types.hs index f338da6ea..03fdc2e4d 100644 --- a/src/Text/Pandoc/XML/Light/Types.hs +++ b/src/Text/Pandoc/XML/Light/Types.hs @@ -2,13 +2,16 @@ {-# LANGUAGE DeriveDataTypeable #-} {- | Module : Text.Pandoc.XML.Light.Types - Copyright : Copyright (C) 2021 John MacFarlane + Copyright : Copyright (C) 2007 Galois, Inc., 2021 John MacFarlane License : GNU GPL, version 2 or above Maintainer : John MacFarlane <jgm@berkeley.edu> Stability : alpha Portability : portable + This code is taken from xml-light, released under the BSD3 license. + It has been modified to use Text instead of String, and the fromXL* + functions have been added. -} module Text.Pandoc.XML.Light.Types ( -- * Basic types, duplicating those from xml-light but with Text |