aboutsummaryrefslogtreecommitdiff
path: root/stack.yaml
diff options
context:
space:
mode:
authorJesse Rosenthal <jrosenthal@jhu.edu>2015-11-23 11:50:49 -0500
committerJesse Rosenthal <jrosenthal@jhu.edu>2015-11-23 11:50:49 -0500
commit07b8a456b1a60e5871a9120eaaeca1dd17e1f6b1 (patch)
tree5242f7bb8cf74fa3c84f20a64212b6bdadec02ad /stack.yaml
parenta008e57ddf13621039bcbf4e23177644c70ecc69 (diff)
downloadpandoc-07b8a456b1a60e5871a9120eaaeca1dd17e1f6b1.tar.gz
Docx Reader: Remove DummyListItem type
Change 5527465c introduced a `DummyListItem` type in Docx/Parse.hs. In retrospect, this seems like it mixes parsing and iterpretation excessively. What's *really* going on is that we have a list item without and associate level or numeric info. We can decide what to do what that in Docx.hs (treat it like a list paragraph), but the parser shouldn't make that decision. This commit makes what is going on a bit more explicit. `LevelInfo` is now a Maybe value in the `ListItem` type. If it's a Nothing, we treat it as a ListParagraph. If it's a Just, it's a normal list item.
Diffstat (limited to 'stack.yaml')
0 files changed, 0 insertions, 0 deletions