aboutsummaryrefslogtreecommitdiffstats
path: root/tests/misc/html.html
Commit message (Collapse)AuthorAgeFilesLines
* Fix HTML parse with empty lines (#537)Isaac Muse2017-01-241-0/+11
| | | | | | | If both open and close was not found in first block, additional blocks were evaluated without context of previous blocks. The algorithm needs to evaluate a buffer with the left bracket present. So feed in all items and get the right bracket, then adjust the data_index to be relative to the last block. Fixes #452.
* Fixed #153. Two spaces at end of paragraph is not a linebreak.Waylan Limberg2012-10-211-2/+1
|
* Fixed #28. Inline raw html is now enclosed in p tags. This used to work. ↵Waylan Limberg2011-06-281-0/+1
| | | | Somehow we stopped checking for a single inline html element when swapping back in raw html. Added a test. Also patched a weird (invalid) comment test. Seeing the input is not really a valid html comment - it doesn't matter what we do with it. I suppose we test it to make sure it doesn't break the parser. Actual output is not so important. As a side note, this has exposed a preexisting (unrelated) bug with the extra extension's handling of raw html. That test is failing following this fix.
* Fixed Ticket 65. Lines with only a lessthan sign (<) no longer crash the ↵Waylan Limberg2010-07-141-1/+5
| | | | raw html parser. Fixed a related but I found while debugging this as well. Also added tests for both.
* Fix bug with rawhtml and markdown escaping. Previously, any inline rawhtml ↵Waylan Limberg2010-03-151-1/+2
| | | | that contained text that fit markdown's escaping syntax (i.e. <x\]>) was never unescaped. Now it is. Markdown probably shouldn't be escaping before removing rawhtml in the first place, but this will do for now.
* Fixed Ticket 48. Quoted attributes in raw html are specificly ackowledged ↵Waylan Limberg2010-01-031-0/+4
| | | | | | now - allowing various arbitrary stuff (like x/html to be included without breaking the rawhtml parser. Although currently unused, the code also provides the parsed attributes as a dict. Should be useful for adding support for parsing markdown text within rawhtml in an extension.
* Moved prettifyETree into a Postprocessor and added code to append all '<br ↵Waylan Limberg2008-09-041-1/+2
| | | | />' tags with a linebreak. Also fixed a minor bug were the '<br />' tags contained 2 spaces instead of one before the slash (i.e. '<br />'). Note that by moving to a Postprocessor, anyone can override with their own code which does what they want (i.e. add indentation) with the extension api.
* Replaced indentation with linebreaks only. At least its more consistant - ↵Waylan Limberg2008-09-031-5/+4
| | | | and it better matches other markdown implementations. Also updated tests.
* Updated tests with raw block level html in them. **Note** these tests do not ↵Waylan Limberg2008-08-221-3/+4
| | | | pass now - but they should! We need to fix the bug which the tests were previosuly hiding!
* A lot of bug fixes. Handlig attributes added, new hr processing. Reformatted ↵Artem Yunusov2008-07-141-8/+6
| | | | test suite for ElementTree output.
* Replace LineBreaks preprocessor with an inlinePattern and update tests. ↵Waylan Limberg2007-10-111-5/+2
| | | | Blank lines (" \n") and headers no longer get linebreaks and the two spaces are no longer preserved.
* Added test casesYuri Takhteyev2007-03-251-0/+13