Differences between revisions 2 and 4 (spanning 2 versions)
Revision 2 as of 2008-03-06 21:58:21
Size: 370
Editor: JunHu
Comment:
Revision 4 as of 2008-10-03 20:20:19
Size: 371
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
$this->xssAuto = 0 $this->xssAuto = 0;

Editor cleans HTML tags/attributes in 1.70

It then has problem with embedding Flash and YouTube movies. Solution: in limesurvey/classes/inputfilter/class.inputfilter_clean.php, function inputFilter, change the line

$this->xssAuto = $xssAuto;

to

$this->xssAuto = 0;

to disable the blacklist of the "known" "dangerous" tags and attributes.

JunHu: JunHu/Memo/LimeSurvey (last edited 2008-10-03 20:20:19 by localhost)