mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-06-20 09:59:50 +02:00
core: Apply changes to fix broken Travis builds
Travis-CI recently got updated, which causes existing builds to fail. For example: https://travis-ci.org/RSS-Bridge/rss-bridge/builds/507568117 Indenting multi-line arguments of functions fixes it.
This commit is contained in:
@ -26,9 +26,10 @@
|
||||
* already removes some of the tags (search for `remove_noise` in simple_html_dom.php).
|
||||
*/
|
||||
function sanitize($html,
|
||||
$tags_to_remove = array('script', 'iframe', 'input', 'form'),
|
||||
$attributes_to_keep = array('title', 'href', 'src'),
|
||||
$text_to_keep = array()){
|
||||
$tags_to_remove = array('script', 'iframe', 'input', 'form'),
|
||||
$attributes_to_keep = array('title', 'href', 'src'),
|
||||
$text_to_keep = array()){
|
||||
|
||||
$htmlContent = str_get_html($html);
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user