mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-01-10 16:01:53 +00:00
0e6e2c4edf
Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
14 lines
486 B
Plaintext
14 lines
486 B
Plaintext
Output.SortAttr
|
|
TYPE: bool
|
|
VERSION: 3.2.0
|
|
DEFAULT: false
|
|
--DESCRIPTION--
|
|
<p>
|
|
If true, HTML Purifier will sort attributes by name before writing them back
|
|
to the document, converting a tag like: <code><el b="" a="" c="" /></code>
|
|
to <code><el a="" b="" c="" /></code>. This is a workaround for
|
|
a bug in FCKeditor which causes it to swap attributes order, adding noise
|
|
to text diffs. If you're not seeing this bug, chances are, you don't need
|
|
this directive.
|
|
</p>
|