aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-02-16 18:44:38 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2021-02-16 18:44:38 -0800
commit4af378702ae31d4c8a11d0c827a5986f54b5e310 (patch)
tree387fe4f7dc8487be101e539db653c77d6a162f3a
parentd7a4996b1e7e201095ce792375a0776984fa8fcd (diff)
downloadpandoc-4af378702ae31d4c8a11d0c827a5986f54b5e310.tar.gz
Add orig copyright/license info for code derived from xml-light.
-rw-r--r--src/Text/Pandoc/XML/Light/Output.hs6
-rw-r--r--src/Text/Pandoc/XML/Light/Proc.hs4
-rw-r--r--src/Text/Pandoc/XML/Light/Types.hs5
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