be7f6d4834
Prior to this change, all the line endings in the imported HTMLPurifier library were using CRLF (\r\n aka Windows style), but the HTMLPurifier source and also the downloadable artefacts use LF (\n aka Linux style) as line endings. This has been the case since510d190382when with the commit "MDL-38672 import HTML Purifier 4.5.0" all line endings were changed from LF to CRLF. There was no comment in the commit on why this change was done. As the original source uses LF, this commit partly reverts510d190382and goes back to LF as line endings. Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
17 lines
573 B
Plaintext
17 lines
573 B
Plaintext
Core.AggressivelyRemoveScript
|
|
TYPE: bool
|
|
VERSION: 4.9.0
|
|
DEFAULT: true
|
|
--DESCRIPTION--
|
|
<p>
|
|
This directive enables aggressive pre-filter removal of
|
|
script tags. This is not necessary for security,
|
|
but it can help work around a bug in libxml where embedded
|
|
HTML elements inside script sections cause the parser to
|
|
choke. To revert to pre-4.9.0 behavior, set this to false.
|
|
This directive has no effect if %Core.Trusted is true,
|
|
%Core.RemoveScriptContents is false, or %Core.HiddenElements
|
|
does not contain script.
|
|
</p>
|
|
--# vim: et sw=4 sts=4
|