"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/Text/Pandoc/Writers/Markdown.hs" between
pandoc-2.14.0.3.tar.gz and pandoc-2.14.1.tar.gz

About: Pandoc converts files from one markup format into another.

Markdown.hs  (pandoc-2.14.0.3):Markdown.hs  (pandoc-2.14.1)
skipping to change at line 794 skipping to change at line 794
&& isListBlock b && isListBlock b
= b : commentSep : CodeBlock attr x : fixBlocks rest = b : commentSep : CodeBlock attr x : fixBlocks rest
fixBlocks (b1@(BulletList _) : b2@(BulletList _) : bs) = fixBlocks (b1@(BulletList _) : b2@(BulletList _) : bs) =
b1 : commentSep : fixBlocks (b2:bs) b1 : commentSep : fixBlocks (b2:bs)
fixBlocks (b1@(OrderedList _ _) : b2@(OrderedList _ _) : bs) = fixBlocks (b1@(OrderedList _ _) : b2@(OrderedList _ _) : bs) =
b1 : commentSep : fixBlocks (b2:bs) b1 : commentSep : fixBlocks (b2:bs)
fixBlocks (b1@(DefinitionList _) : b2@(DefinitionList _) : bs) = fixBlocks (b1@(DefinitionList _) : b2@(DefinitionList _) : bs) =
b1 : commentSep : fixBlocks (b2:bs) b1 : commentSep : fixBlocks (b2:bs)
fixBlocks (Plain ils : bs@(RawBlock{}:_)) = fixBlocks (Plain ils : bs@(RawBlock{}:_)) =
Plain ils : fixBlocks bs Plain ils : fixBlocks bs
fixBlocks (Plain ils : bs@(Div{}:_))
| isEnabled Ext_fenced_divs opts =
Para ils : fixBlocks bs
fixBlocks (Plain ils : bs) | inlist = fixBlocks (Plain ils : bs) | inlist =
Plain ils : fixBlocks bs Plain ils : fixBlocks bs
fixBlocks (Plain ils : bs) = fixBlocks (Plain ils : bs) =
Para ils : fixBlocks bs Para ils : fixBlocks bs
fixBlocks (r@(RawBlock f raw) : b : bs) fixBlocks (r@(RawBlock f raw) : b : bs)
| not (T.null raw) | not (T.null raw)
, T.last raw /= '\n' = , T.last raw /= '\n' =
case b of case b of
Plain{} -> r : fixBlocks (b:bs) Plain{} -> r : fixBlocks (b:bs)
RawBlock{} -> r : fixBlocks (b:bs) RawBlock{} -> r : fixBlocks (b:bs)
 End of changes. 1 change blocks. 
0 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)