diff options
author | Tzu-ping Chung <uranusjr@gmail.com> | 2015-05-16 00:51:50 +0800 |
---|---|---|
committer | Tzu-ping Chung <uranusjr@gmail.com> | 2015-05-16 00:54:24 +0800 |
commit | 2297a4e20beafadd3338ce4e08d166937dbed21d (patch) | |
tree | b135feecdbb67b54d54d540cf8df00b25af3597d /test/config.json | |
parent | 365ad578e7b767ffe7126f029c184d727a3e95b3 (diff) | |
download | rust-hoedown-2297a4e20beafadd3338ce4e08d166937dbed21d.tar.gz |
Fix rendering in table with empty cells
`find_emph_char` returns 0 if the char specified is not found in the
current line, but this is also what happens when there's an empty
cell. This patch adds logic to work around this problem.
See uranusjr/macdown#321
Diffstat (limited to 'test/config.json')
-rw-r--r-- | test/config.json | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/config.json b/test/config.json index d3e170e..365c7bc 100644 --- a/test/config.json +++ b/test/config.json @@ -106,6 +106,11 @@ "input": "Tests/Underline.text", "output": "Tests/Underline.html", "flags": ["--underline"] + }, + { + "input": "Tests/Table.text", + "output": "Tests/Table.html", + "flags": ["--tables"] } ] } |