JeroenDeDauw / GitHub

MediaWiki extension that allows embedding the content of files hosted in GitHub git repositories
https://professional.wiki/
Other
32 stars 20 forks source link

Formatting is broken with #42

Closed mwjames closed 7 years ago

mwjames commented 7 years ago

Issue

As observed in https://www.semantic-mediawiki.org/wiki/Help:Integration_tests:

See the difference in https://www.semantic-mediawiki.org/wiki/Help:Integration_tests vs. https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/master/tests/phpunit/Integration/JSONScript/README.md

JeroenDeDauw commented 7 years ago

Probably this is the new HTML purification stripping out whatever tags where used for this. So likely need some small modification to https://github.com/JeroenDeDauw/GitHub/blob/master/src/ContentPurifier.php