summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDaniel Gnoutcheff <gnoutchd@softwarefreedom.org>2021-09-15 16:27:14 -0400
committerDaniel Gnoutcheff <gnoutchd@softwarefreedom.org>2021-09-16 16:43:45 -0400
commit14b60616df95d76b91873a726861b58f3578182b (patch)
treef677e109cb3e2cf7b5f0bd703c34386c27243148 /app
parent874e4951213d6ff8d08eeab15ee80c59fdbe318f (diff)
Licence information
Diffstat (limited to 'app')
-rw-r--r--app/Main.hs9
-rw-r--r--app/XMLParse.hs19
2 files changed, 26 insertions, 2 deletions
diff --git a/app/Main.hs b/app/Main.hs
index 9da65af..59a9a79 100644
--- a/app/Main.hs
+++ b/app/Main.hs
@@ -1,4 +1,13 @@
{-# OPTIONS_GHC -fno-full-laziness #-}
+
+-- Pandoc Markdown rendering for IkiWiki, implemented as a "external" (XML-RPC)
+-- plugin.
+--
+-- Copyright (C) 2021 Software Freedom Law Center
+--
+-- Licensed under the terms of the GNU General Public Licence (GPL) version 3
+-- or (at your option) any later version.
+
module Main (main) where
import XMLParse -- Our slightly modified copy of Text.XML.HaXml.Parse
diff --git a/app/XMLParse.hs b/app/XMLParse.hs
index c23f834..58e750d 100644
--- a/app/XMLParse.hs
+++ b/app/XMLParse.hs
@@ -1,6 +1,21 @@
{-# OPTIONS -cpp #-}
--- A copy of Text.XML.HaXml.Parse with seemingly obvious additions to the
--- export list
+
+-- A copy of Text.XML.HaXml.Parse from HaXml-1.25.5, with seemingly obvious
+-- additions to the export list.
+--
+-- (c) copyright 1998-1999 Malcolm Wallace and Colin Runciman
+-- (c) copyright 2000-2013 Malcolm Wallace
+-- (c) copyright 2021 Software Freedom Law Center
+-- Licensed under the terms of the GNU Lesser General Public Licence (LGPL)
+-- version 2.1.
+--
+-- As a relaxation of clause 6 of the LGPL, the copyright holders of this
+-- library give permission to use, copy, link, modify, and distribute,
+-- binary-only object-code versions of an executable linked with the original
+-- unmodified Library, without requiring the supply of any mechanism to modify
+-- or replace the Library and relink (clauses 6a, 6b, 6c, 6d, 6e), provided
+-- that all the other terms of clause 6 are complied with.
+
module XMLParse
(
-- * Parse a whole document