11 Commits
Author SHA1 Message Date
Jan Schär 1cfb24fd93 Allow omitted optional close tags in HTMLSimpleDOM (#12057)
* Allow omitted optional close tags in HTMLSimpleDOM

fixes #7257
This commit also updates the openImpliesClose list.

* Fix TypeError after typing at end of html document

This fixes `TypeError: Cannot read property 'mark' of null`

* Make shure Tokenizer gets to the end

and does not skip text nodes at the end.

* Fix preferParent in HTMLInstrumentation

* Allow dt at end of dl

...even though it's not actually valid. Change requested by @petetnt
2016-10-25 23:08:22 +03:00
ficristo 074382aaa2 Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
Prayag Verma f6d2ea5354 Make test folder license evergreen 2016-01-27 19:49:10 +05:30
ficristo ef6048cfbb ESLint: enabled no-trailing-spaces and eol-last rules 2015-12-11 23:02:47 +01:00
Marcel Gerber 5215db1cd3 Fix Travis failure 2014-09-04 17:34:39 +02:00
Narciso Jaramillo c5cd367d99 Properly handle unknown self-close tags 2013-11-01 17:41:00 -07:00
gmeluski be80ae2cca changing not.toBeNull to toBeTruthy
:
2013-10-11 15:21:54 -04:00
Jason San Jose bb7cde31b8 update HTMLSimpleDOM tests to verify errors 2013-09-12 16:37:26 -07:00
Kevin Dangoor d32da8af35 Fix HTMLSimpleDOM test on Windows.
Normalize the line endings.
2013-09-04 23:03:42 -04:00
Kevin Dangoor ac99905890 Naming cleanup as suggested in review 2013-09-04 10:07:38 -04:00
Kevin Dangoor f2aa82c858 Breaks HTMLInstrumentation into three files.
HTMLInstrumentation: handles the interface between editor/document
and live HTML.

HTMLSimpleDOM: Parses HTML into a simple DOM-like structure with
properties useful for HTMLInstrumentation.

HTMLDiff: Generates a list of edits to mutate a Simple DOMs into another.
2013-09-03 11:27:18 -04:00