aboutsummaryrefslogtreecommitdiff
path: root/test/docx/paragraph_insertion_deletion_reject.native
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 /test/docx/paragraph_insertion_deletion_reject.native
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 'test/docx/paragraph_insertion_deletion_reject.native')
0 files changed, 0 insertions, 0 deletions