forked from blallo/rss-bridge
[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/
|
* Maybe we'll switch to http://htmlpurifier.org/
|
||||||
* or http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed/index.php
|
* 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('<script','<‌script',$html); // Disable scripts, but leave them visible.
|
||||||
$html = str_replace('<iframe','<‌iframe',$html);
|
$html = str_replace('<iframe','<‌iframe',$html);
|
||||||
|
|
Loading…
Reference in a new issue