mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-26 19:36:52 +03:00
[Format] Change scope of 'sanitizeHtml' to protected
This commit is contained in:
parent
f49fca516d
commit
8d050c233b
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ abstract class FormatAbstract implements FormatInterface{
|
|||
* Maybe we'll switch to http://htmlpurifier.org/
|
||||
* or http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed/index.php
|
||||
*/
|
||||
public function sanitizeHtml($html)
|
||||
protected function sanitizeHtml($html)
|
||||
{
|
||||
$html = str_replace('<script','<‌script',$html); // Disable scripts, but leave them visible.
|
||||
$html = str_replace('<iframe','<‌iframe',$html);
|
||||
|
|
Loading…
Reference in a new issue