xmlbf-xmlhtml 0.1 → 0.1.1
raw patch · 5 files changed
+26/−4 lines, 5 filessetup-changed
Files
- ChangeLog.md +5/−0
- LICENSE +17/−0
- Setup.hs +1/−1
- lib/Xmlbf/XmlHtml.hs +1/−1
- xmlbf-xmlhtml.cabal +2/−2
ChangeLog.md view
@@ -1,3 +1,8 @@+# 0.1.1++* Made compatible with `xmlbf-0.3`.++ # 0.1 * First version.
LICENSE view
@@ -1,3 +1,20 @@+Copyright 2017-2018, Renzo Carbonara <renλren.zone>.++Except where otherwise explicitly mentioned, all of contents of the+"xmlbf-xmlhtml" project are licensed under the Apache License, Version 2.0 (the+"License"); you may not use this file except in compliance with the+License. You may obtain a copy of the License at the end of this file or at+http://www.apache.org/licenses/LICENSE-2.0++Unless required by applicable law or agreed to in writing, software+distributed under the License is distributed on an "AS IS" BASIS,+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+See the License for the specific language governing permissions and+limitations under the License.+++-------------------------------------------------------------------------------+ Apache License Version 2.0, January 2004
Setup.hs view
@@ -1,4 +1,4 @@ #! /usr/bin/env nix-shell-#! nix-shell ./default.nix -i runghc+#! nix-shell ./shell.nix -i runghc import Distribution.Simple main = defaultMain
lib/Xmlbf/XmlHtml.hs view
@@ -34,7 +34,7 @@ -> Either String (Maybe Xmlbf.Node) element' = \case XmlHtml.Comment _ -> Right Nothing- XmlHtml.TextNode t -> Right (Just (Xmlbf.Text t))+ XmlHtml.TextNode t -> Right (Just (Xmlbf.text t)) XmlHtml.Element t as cs -> do cs' <- catMaybes <$> traverse element' cs Just <$> Xmlbf.element t (HM.fromList as) cs'
xmlbf-xmlhtml.cabal view
@@ -1,12 +1,12 @@ name: xmlbf-xmlhtml-version: 0.1+version: 0.1.1 synopsis: xmlhtml backend support for the xmlbf library. homepage: https://gitlab.com/k0001/xmlbf license: Apache-2.0 license-file: LICENSE author: Renzo Carbonara maintainer: ren§ren*zone-copyright: Copyright 2017 Renzo Carbonara+copyright: Copyright 2017-2018 Renzo Carbonara category: Text build-type: Simple extra-source-files: ChangeLog.md README.md