diff options
author | hftf <hftf@users.noreply.github.com> | 2017-10-27 18:45:00 -0400 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-10-27 18:45:00 -0400 |
commit | 7f8a3c6cb70e61666598873dbcea8ef45ab85b56 (patch) | |
tree | 74d187a1f0f57733ecd76b331f4259e1469204e2 /test/html-reader.html | |
parent | 2ddf08641d5e27046ae97ebd3cb4602025016ed5 (diff) | |
download | pandoc-7f8a3c6cb70e61666598873dbcea8ef45ab85b56.tar.gz |
Consistent underline for Readers (#2270)
* Added underlineSpan builder function. This can be easily updated if needed. The purpose is for Readers to transform underlines consistently.
* Docx Reader: Use underlineSpan and update test
* Org Reader: Use underlineSpan and add test
* Textile Reader: Use underlineSpan and add test case
* Txt2Tags Reader: Use underlineSpan and update test
* HTML Reader: Use underlineSpan and add test case
Diffstat (limited to 'test/html-reader.html')
-rw-r--r-- | test/html-reader.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/html-reader.html b/test/html-reader.html index 3bd5e4ce3..a2bca5d2c 100644 --- a/test/html-reader.html +++ b/test/html-reader.html @@ -317,6 +317,8 @@ These should not be escaped: \$ \\ \> \[ \{ <p>So is <strong><em>this</em></strong> word.</p> <p>This is code: <code>></code>, <code>$</code>, <code>\</code>, <code>\$</code>, <code><html></code>.</p> <p>This is <span style="font-variant: small-caps;">small caps</span>.</p> +<p>These are all underlined: <u>foo</u> and <ins>bar</ins>.</p> +<p>These are all strikethrough: <s>foo</s>, <strike>bar</strike>, and <del>baz</del>.</p> <hr /> <h1>Smart quotes, ellipses, dashes</h1> <p>"Hello," said the spider. "'Shelob' is my name."</p> |