hoedown/test/Tests
Jorge Israel Peña 9b789d24a5 allow the HOEDOWN_EXT_UNDERLINE to work
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.
2015-01-30 19:02:37 -08:00
..
Escape character.html New Python implemented test script 2014-09-09 16:10:50 +08:00
Escape character.text New Python implemented test script 2014-09-09 16:10:50 +08:00
Formatting in Table of Contents.html Move test for formatting in table of contents to test/Tests directory. 2014-12-01 16:47:18 +01:00
Formatting in Table of Contents.text Move test for formatting in table of contents to test/Tests directory. 2014-12-01 16:47:18 +01:00
Math.html Modify tests accordingly 2014-09-14 19:16:41 +02:00
Math.text Modify tests accordingly 2014-09-14 19:16:41 +02:00
Underline.html allow the HOEDOWN_EXT_UNDERLINE to work 2015-01-30 19:02:37 -08:00
Underline.text allow the HOEDOWN_EXT_UNDERLINE to work 2015-01-30 19:02:37 -08:00