antoniop
committed
on 15 Jan 17
- new utility to try 'fixing' invalid HTML
- fixed recognition of protocol agnostic urls
- use location from connection context and confi… Show more
- new utility to try 'fixing' invalid HTML

- fixed recognition of protocol agnostic urls

- use location from connection context and configurations to determine whether full urls are local

- optionally use new utility when plain parsing fails to try accepting a broader kind of invalid markup

- some update in test cases

- rename of the utilities with the 'dom' prefix, to make clear that this is the dom approach for sanitizing markup.

  As it is sometimes prone to format and content loss, its use should be carefully considered.

Show less