aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/CommonMark.hs
diff options
context:
space:
mode:
authorJesse Rosenthal <jrosenthal@jhu.edu>2015-11-18 13:02:57 -0500
committerJesse Rosenthal <jrosenthal@jhu.edu>2015-11-18 13:02:57 -0500
commit5527465c778736e91e88fae414ea26558b966724 (patch)
tree768da048dfe75a54521b71a4ec34a6ca31995f8b /src/Text/Pandoc/Writers/CommonMark.hs
parent1f2c37392c808e15f1f2508fb5d4bb91f4e1483f (diff)
downloadpandoc-5527465c778736e91e88fae414ea26558b966724.tar.gz
Docx reader: Handle dummy list items.
These come up when people create a list item and then delete the bullet. It doesn't refer to any real list item, and we used to ignore it. We handle it with a DummyListItem type, which, in Docx.hs, is turned into a normal paragraph with a "ListParagraph" class. If it follow another list item, it is folded as another paragraph into that item. If it doesn't, it's just its own (usually indented, and therefore block-quoted) paragraph.
Diffstat (limited to 'src/Text/Pandoc/Writers/CommonMark.hs')
0 files changed, 0 insertions, 0 deletions