"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "test/Tests/Readers/Org/Block/Header.hs" between
pandoc-2.11.1.1.tar.gz and pandoc-2.11.2.tar.gz

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

Header.hs  (pandoc-2.11.1.1):Header.hs  (pandoc-2.11.2)
skipping to change at line 102 skipping to change at line 102
let todoSpan = spanWith ("", ["todo", "TODO"], []) "TODO" let todoSpan = spanWith ("", ["todo", "TODO"], []) "TODO"
in headerWith ("fix-this", [], []) in headerWith ("fix-this", [], [])
2 2
(todoSpan <> space <> emph "fix" <> space <> "this") (todoSpan <> space <> emph "fix" <> space <> "this")
, "Header with unknown todo keyword" =: , "Header with unknown todo keyword" =:
"* WAITING header" =?> "* WAITING header" =?>
headerWith ("waiting-header", [], []) 1 "WAITING header" headerWith ("waiting-header", [], []) 1 "WAITING header"
, "Custom todo keywords" =: , "Custom todo keywords" =:
T.unlines [ "#+TODO: WAITING CANCELLED" T.unlines [ "#+todo: WAITING CANCELLED"
, "* WAITING compile" , "* WAITING compile"
, "* CANCELLED lunch" , "* CANCELLED lunch"
] =?> ] =?>
let todoSpan = spanWith ("", ["todo", "WAITING"], []) "WAITING" let todoSpan = spanWith ("", ["todo", "WAITING"], []) "WAITING"
doneSpan = spanWith ("", ["done", "CANCELLED"], []) "CANCELLED" doneSpan = spanWith ("", ["done", "CANCELLED"], []) "CANCELLED"
in headerWith ("compile", [], []) 1 (todoSpan <> space <> "compile") in headerWith ("compile", [], []) 1 (todoSpan <> space <> "compile")
<> headerWith ("lunch", [], []) 1 (doneSpan <> space <> "lunch") <> headerWith ("lunch", [], []) 1 (doneSpan <> space <> "lunch")
, "Custom todo keywords with multiple done-states" =: , "Custom todo keywords with multiple done-states" =:
T.unlines [ "#+TODO: WAITING | DONE CANCELLED " T.unlines [ "#+todo: WAITING | DONE CANCELLED "
, "* WAITING compile" , "* WAITING compile"
, "* CANCELLED lunch" , "* CANCELLED lunch"
, "* DONE todo-feature" , "* DONE todo-feature"
] =?> ] =?>
let waiting = spanWith ("", ["todo", "WAITING"], []) "WAITING" let waiting = spanWith ("", ["todo", "WAITING"], []) "WAITING"
cancelled = spanWith ("", ["done", "CANCELLED"], []) "CANCELLED" cancelled = spanWith ("", ["done", "CANCELLED"], []) "CANCELLED"
done = spanWith ("", ["done", "DONE"], []) "DONE" done = spanWith ("", ["done", "DONE"], []) "DONE"
in headerWith ("compile", [], []) 1 (waiting <> space <> "compile") in headerWith ("compile", [], []) 1 (waiting <> space <> "compile")
<> headerWith ("lunch", [], []) 1 (cancelled <> space <> "lunch") <> headerWith ("lunch", [], []) 1 (cancelled <> space <> "lunch")
<> headerWith ("todo-feature", [], []) 1 (done <> space <> "todo-feature ") <> headerWith ("todo-feature", [], []) 1 (done <> space <> "todo-feature ")
skipping to change at line 250 skipping to change at line 250
, "DEADLINE: <2018-09-17 Mon>" , "DEADLINE: <2018-09-17 Mon>"
, "SCHEDULED: <2018-09-10 Mon>" , "SCHEDULED: <2018-09-10 Mon>"
] ]
, " :PROPERTIES:" , " :PROPERTIES:"
, " :custom_id: look" , " :custom_id: look"
, " :END:" , " :END:"
] =?> ] =?>
headerWith ("look", [], []) 1 "important" headerWith ("look", [], []) 1 "important"
, "third and forth level headers" =: , "third and forth level headers" =:
T.unlines [ "#+OPTIONS: p:t h:3" T.unlines [ "#+options: p:t h:3"
, "*** Third" , "*** Third"
, " CLOSED: [2018-09-05 Wed 13:58]" , " CLOSED: [2018-09-05 Wed 13:58]"
, " Text 3" , " Text 3"
, "**** Fourth" , "**** Fourth"
, "SCHEDULED: <2019-05-13 Mon 22:42>" , "SCHEDULED: <2019-05-13 Mon 22:42>"
, "Text 4" , "Text 4"
] =?> ] =?>
mconcat mconcat
[ headerWith ("third", [], mempty) 3 "Third" [ headerWith ("third", [], mempty) 3 "Third"
, plain $ , plain $
 End of changes. 3 change blocks. 
3 lines changed or deleted 3 lines changed or added

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