Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2008-03-06 21:57:58
Size: 369
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 1: Line 1:
== 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 {{{
== 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 {{{
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)