diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-08-12 22:42:51 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-08-12 22:59:53 -0700 |
commit | 418bda81282c82325c5a296a3c486fdc5ab1dfe0 (patch) | |
tree | 9e824f2e754363f6879900ef85933b220eb93b90 /test/command | |
parent | be9957bddc1e1edac2375b6b945ab4d07f6198d2 (diff) |
Docx writer: pass through comments.
We assume that comments are defined as parsed by the
docx reader:
I want <span class="comment-start" id="0" author="Jesse Rosenthal"
date="2016-05-09T16:13:00Z">I left a comment.</span>some text to
have a comment <span class="comment-end" id="0"></span>on it.
We assume also that the id attributes are unique and properly
matched between comment-start and comment-end.
Closes #2994.
Diffstat (limited to 'test/command')
-rw-r--r-- | test/command/2994.docx | bin | 0 -> 9701 bytes | |||
-rw-r--r-- | test/command/2994.md | 7 |
2 files changed, 7 insertions, 0 deletions
diff --git a/test/command/2994.docx b/test/command/2994.docx Binary files differnew file mode 100644 index 000000000..44118e9bd --- /dev/null +++ b/test/command/2994.docx diff --git a/test/command/2994.md b/test/command/2994.md new file mode 100644 index 000000000..b7d267d29 --- /dev/null +++ b/test/command/2994.md @@ -0,0 +1,7 @@ +``` +% pandoc --track-changes=all -t markdown command/2994.docx +^D +I want [I left a comment.]{.comment-start id="0" +author="Jesse Rosenthal" date="2016-05-09T16:13:00Z"}some text to have a +comment []{.comment-end id="0"}on it. +``` |