Warning, /webapps/ocs-apiserver/library/HTMLPurifier/ConfigSchema/schema/Core.LegacyEntityDecoder.txt is written in an unsupported language. File is not indexed.
0001 Core.LegacyEntityDecoder 0002 TYPE: bool 0003 VERSION: 4.9.0 0004 DEFAULT: false 0005 --DESCRIPTION-- 0006 <p> 0007 Prior to HTML Purifier 4.9.0, entities were decoded by performing 0008 a global search replace for all entities whose decoded versions 0009 did not have special meanings under HTML, and replaced them with 0010 their decoded versions. We would match all entities, even if they did 0011 not have a trailing semicolon, but only if there weren't any trailing 0012 alphanumeric characters. 0013 </p> 0014 <table> 0015 <tr><th>Original</th><th>Text</th><th>Attribute</th></tr> 0016 <tr><td>&yen;</td><td>¥</td><td>¥</td></tr> 0017 <tr><td>&yen</td><td>¥</td><td>¥</td></tr> 0018 <tr><td>&yena</td><td>&yena</td><td>&yena</td></tr> 0019 <tr><td>&yen=</td><td>¥=</td><td>¥=</td></tr> 0020 </table> 0021 <p> 0022 In HTML Purifier 4.9.0, we changed the behavior of entity parsing 0023 to match entities that had missing trailing semicolons in less 0024 cases, to more closely match HTML5 parsing behavior: 0025 </p> 0026 <table> 0027 <tr><th>Original</th><th>Text</th><th>Attribute</th></tr> 0028 <tr><td>&yen;</td><td>¥</td><td>¥</td></tr> 0029 <tr><td>&yen</td><td>¥</td><td>¥</td></tr> 0030 <tr><td>&yena</td><td>¥a</td><td>&yena</td></tr> 0031 <tr><td>&yen=</td><td>¥=</td><td>&yen=</td></tr> 0032 </table> 0033 <p> 0034 This flag reverts back to pre-HTML Purifier 4.9.0 behavior. 0035 </p> 0036 --# vim: et sw=4 sts=4