Commit graph

13 commits

Author SHA1 Message Date
Rafal Leszczynski 6a40c864e6 Merge branch 'dev' into DAT-3613 2016-01-12 13:40:32 +01:00
dianafa ebfb01d73d use createDOMDocumentFromText helper 2016-01-12 10:08:37 +01:00
Sebastian Marzjan 168bf09348 DAT-3621 Unified tests for hero image and regular caption
* Disable sanitization on Oasis
* Handle previously unsupported case of nested tag ( <b><a></a></b> )
* Unify test formatting
* Change list handling (yes, I am not proud of that)
2016-01-12 09:21:21 +01:00
dianafa 96192e1fc2 silence libxml errro 2016-01-11 18:01:04 +01:00
Sebastian Marzjan 531fc700e6 Provide explicitly encoded XML to loadHTML (libxml issues ;-) ) 2016-01-08 08:24:09 +01:00
Sebastian Marzjan 72392d0edd Normalize whitespace when processing infobox contents 2016-01-05 09:05:50 +01:00
marzjan a5ad283fca Further code reorg 2016-01-04 12:09:39 +00:00
marzjan 7dfc5a828f Small code reorganization and cleanup 2016-01-04 11:09:50 +00:00
Sebastian Marzjan 2fdebcdffb DAT-3465 Change approach to sanitization; use XML parsing 2015-12-30 11:00:10 +01:00
Sebastian Marzjan a0569a829b Move the implements statement to base Sanitizer class 2015-12-29 08:13:02 +01:00
Sebastian Marzjan 0ce0b500fe Use the Builder for Sanitizers.
Cover the sanitizer build step in tests too
2015-12-28 12:04:36 +01:00
Sebastian Marzjan 8f437fb1e7 DAT-3465 Update the caption behavior 2015-12-28 10:21:32 +01:00
dianafa 8afcb73d10 move sanitizers to a separate folder 2015-12-23 15:54:03 +01:00