how to remove html tags in ImperaviRedactorWidget in yii framework

759 views Asked by At

How to remove html tags in ImperaviRedactorWidget in yii framework so as to prevent script alert tags from displaying when the widget is used in yii?

(striptags don't work for this widget)

1

There are 1 answers

2
Maksym Tymofeiev On

striptags work fine.

which widget are you using?

A lot of them and each has its own problems, that are not related to imperavi

I use it: https://github.com/vova07/yii2-imperavi-widget