diff options
author | Jesse Rosenthal <jrosenthal@jhu.edu> | 2016-10-04 09:58:13 -0400 |
---|---|---|
committer | Jesse Rosenthal <jrosenthal@jhu.edu> | 2016-10-04 11:18:11 -0400 |
commit | be27c9c646e95c47e4ac6c2c082d93301332d1b8 (patch) | |
tree | 4ce32ac7057dc111e000adb2872412d7b145260d /tests/docx/codeblock.docx | |
parent | 1893f8fe489332e52aa1913144ef644093604a53 (diff) | |
download | pandoc-be27c9c646e95c47e4ac6c2c082d93301332d1b8.tar.gz |
Docx writer: Clean up and streamline RTL behavior
Now RTL is turned and off by a general function, `withDirection`
wrapping `inlineToOpenXML` and `blockToOpenXML`. This acts according to
the `envRTL` variable. This means we can just set the environment at the
outset, and change the environment with `local` as need be.
Note that this requires making the `inlineToOpenXML` and
`blockToOpenXML` functions into wrappers around
primed-versions (`{inline,block}ToOpenXML`) where the real work takes
place.
Diffstat (limited to 'tests/docx/codeblock.docx')
0 files changed, 0 insertions, 0 deletions