aboutsummaryrefslogtreecommitdiffstats
path: root/tests/misc/more_comments.html
Commit message (Collapse)AuthorAgeFilesLines
* Improved multiline comment parsing.Waylan Limberg2014-01-121-3/+5
| | | | | | | | | | | | | | | Fixes #257 and slightly alters comment parsing behavior. Unlike self-closing tags, a comment can contain angle brackets between the opening and closing tags. The greaterthan angle bracket at the end of the first block should not be mistaken for closing the comment. Need to actually check for a comment closing tag (`-->`). If one if not found, then the comment keeps going (to the end of the document if nessecary) just like in HTML. That last bit is a slight change from previous behavior, but should be unsurprising as that's how broswers parse html comments. And as far as I can tell, more implementations follow this behavior than any other. The ones that don't seem to be all over the place.
* Fixed #28. Inline raw html is now enclosed in p tags. This used to work. ↵Waylan Limberg2011-06-281-2/+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.
* Replaced indentation with linebreaks only. At least its more consistant - ↵Waylan Limberg2008-09-031-1/+1
| | | | and it better matches other markdown implementations. Also updated tests.
* Fixed Ticket 13. Raw block-level html are no longer being inserted into <p> ↵Waylan Limberg2008-08-221-4/+2
| | | | | | | | | | | | | tags. Also edited numerious tests that were expecting wrong output - they now expect correct output. Note that a few **still fail** because the output before moving to ELementTree wasn't correct either. So I set the expected output to what I think it should be so we don't forget about it later. I should also note that the 'safe-mode' tests are failing. However, I believe the current expected output is correct as it is valid html. Interestingly, these tests passed prior to this fix. We'll need to special case safe-mode here.
* A lot of bug fixes. Handlig attributes added, new hr processing. Reformatted ↵Artem Yunusov2008-07-141-6/+2
| | | | test suite for ElementTree output.
* Updated tests/misc/more_comments.html to match 1.6 - fixes [1794694]Waylan Limberg2007-10-091-0/+10
|
* Added test casesYuri Takhteyev2007-03-251-0/+3