hoodle-builder 0.2.2 → 0.2.2.0
raw patch · 2 files changed
+2/−2 lines, 2 files
Files
- hoodle-builder.cabal +1/−1
- src/Text/Hoodle/Builder.hs +1/−1
hoodle-builder.cabal view
@@ -1,5 +1,5 @@ Name: hoodle-builder-Version: 0.2.2+Version: 0.2.2.0 Synopsis: text builder for hoodle file format Description: This library builds text xoj format file from hoodle data structure License: BSD3
src/Text/Hoodle/Builder.hs view
@@ -45,7 +45,7 @@ -- | buildHoodle :: Hoodle -> Builder -buildHoodle hdl = fromByteString "<?xml version=\"1.0\" standalone=\"no\"?>\n<hoodle version=\"0.2.1.999\" id=\""+buildHoodle hdl = fromByteString "<?xml version=\"1.0\" standalone=\"no\"?>\n<hoodle version=\"0.2.2\" id=\"" <> fromByteString (view hoodleID hdl) <> fromByteString "\">\n" <> (buildTitle . view title) hdl