aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/OOXML.hs
diff options
context:
space:
mode:
authorJesse Rosenthal <jrosenthal@jhu.edu>2018-01-02 08:34:21 -0500
committerJesse Rosenthal <jrosenthal@jhu.edu>2018-01-02 11:31:20 -0500
commit2e90e2932cb0195be2e5955ce7c52616a2b7414a (patch)
tree89ae8dafa538018d5b5353cc91088c237c1ca0a2 /src/Text/Pandoc/Writers/OOXML.hs
parent2746f73093dcf126977ae3cfa89dda1297d0dcec (diff)
downloadpandoc-2e90e2932cb0195be2e5955ce7c52616a2b7414a.tar.gz
Docx reader: Allow for insertion/deletion of paragraphs.
If the paragraph has a deleted or inserted paragraph break (depending on the track-changes setting) we hold onto it until the next paragraph. This takes care of accept and reject. For this we introduce a new state which holds the ils from the previous para if necessary. For `--track-changes=all`, we add an empty span with class `paragraph-insertion`/`paragraph-deletion` at the end of the paragraph prior to the break to be inserted or deleted. Closes #3927.
Diffstat (limited to 'src/Text/Pandoc/Writers/OOXML.hs')
0 files changed, 0 insertions, 0 deletions