From 4af378702ae31d4c8a11d0c827a5986f54b5e310 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 16 Feb 2021 18:44:38 -0800 Subject: Add orig copyright/license info for code derived from xml-light. --- src/Text/Pandoc/XML/Light/Output.hs | 6 +++++- src/Text/Pandoc/XML/Light/Proc.hs | 4 +++- src/Text/Pandoc/XML/Light/Types.hs | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) (limited to 'src/Text/Pandoc/XML') 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 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 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 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 -- cgit v1.2.3