summaryrefslogtreecommitdiff
path: root/test/config.json
Commit message (Collapse)AuthorAgeFilesLines
* Fix rendering in table with empty cellsTzu-ping Chung2015-05-161-0/+5
| | | | | | | | `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
* allow the HOEDOWN_EXT_UNDERLINE to workJorge Israel Peña2015-01-301-0/+5
| | | | | | | | | | | | | | | When the `HOEDOWN_EXT_UNDERLINE` extension was enabled, underlined spans would actually be passed verbatim to the output buffer. This was because the active_char was _only_ set when the emphasis, double_emphasis, or triple_emphasis handlers were registered. As a result, no active char was found in the input buffer, so everything was passed through verbatim. This patch fixes this by also registering the `active_char` if the underline handler is registered. I also added a simple regression test. I personally don't use this extension, but I encountered this bug over the course of writing bindings for Rust.
* Move test for formatting in table of contents to test/Tests directory.Steve Wolter2014-12-011-5/+5
| | | | | MarkdownTest_1.0.3 directory is reserved for the standard tests from the original Markdown spec.
* Fix issue #125: Don't escape HTML tags in tables of contents.Steve Wolter2014-12-011-0/+5
| | | | | | | | Before this patch, a header like "# *A*" was displayed as "<li>&lt;em&gtA&lt;/em&gt;</li>" in the TOC. The error was caused by toc_header doing the HTML escaping. In the normal HTML renderer, the escaping is done by the normal_text hook. This patch uses the same handling to fix the issue.
* Enable escape character testTzu-ping Chung2014-09-091-2/+1
|
* Add math test (modified) and tweak runnerTzu-ping Chung2014-09-091-0/+5
|
* New Python implemented test scriptTzu-ping Chung2014-09-091-0/+97