Commit graph

21 commits

Author SHA1 Message Date
Mateusz Rybarski fccd4c2bb1 XW-4654: fix PortableInfoboxMobileRenderService tests 2018-03-15 15:38:19 +01:00
Jakub Olek 3a30c73c16 XW-4045 | Remvove a tags that href starts with javascript from nodeimage 2017-10-03 10:52:40 +02:00
idradm 6b3488ffaa XW-2656 | make sure caption is set 2017-02-24 17:01:02 +01:00
idradm bd2a9cd159 XW-2656 | make sure gallery captions are escaped as well 2017-02-24 16:57:29 +01:00
Igor Rogatty 065bf53428 XW-1300 | add hero-mobile-wikiamobile to sanitizer builder 2016-04-04 13:49:48 +02:00
Bogna Knychala ba822f6176 XW-41 add comment to method and fix the log message format 2016-02-15 15:48:42 +01:00
Bogna Knychala 46683ca8e4 XW-41 fix xpath to media in hero image in infobox 2016-02-12 18:20:14 +01:00
Bogna Knychala c6aa0fb787 XW-41 handle experimental content 2016-02-12 17:13:48 +01:00
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