mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-23 08:51:53 +00:00
eb9f9bc7f6
- Add $max to AttrDef/HTML/Pixels.php - Add %HTML.MaxImgLength - CSS width/height allows percents when MaxImgLength is disabled git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1762 48356398-32a2-884e-a903-53898d9a118a
375 lines
9.6 KiB
XML
375 lines
9.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<usage>
|
|
<directive id="Core.CollectErrors">
|
|
<file name="HTMLPurifier.php">
|
|
<line>131</line>
|
|
</file>
|
|
<file name="HTMLPurifier/Lexer.php">
|
|
<line>85</line>
|
|
</file>
|
|
<file name="HTMLPurifier/Lexer/DirectLex.php">
|
|
<line>50</line>
|
|
<line>62</line>
|
|
<line>327</line>
|
|
</file>
|
|
<file name="HTMLPurifier/Strategy/RemoveForeignElements.php">
|
|
<line>44</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="CSS.MaxImgLength">
|
|
<file name="HTMLPurifier/CSSDefinition.php">
|
|
<line>157</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="CSS.Proprietary">
|
|
<file name="HTMLPurifier/CSSDefinition.php">
|
|
<line>214</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="CSS.AllowTricky">
|
|
<file name="HTMLPurifier/CSSDefinition.php">
|
|
<line>218</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="CSS.AllowImportant">
|
|
<file name="HTMLPurifier/CSSDefinition.php">
|
|
<line>222</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="CSS.AllowedProperties">
|
|
<file name="HTMLPurifier/CSSDefinition.php">
|
|
<line>274</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="Cache.DefinitionImpl">
|
|
<file name="HTMLPurifier/DefinitionCacheFactory.php">
|
|
<line>49</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="HTML.Doctype">
|
|
<file name="HTMLPurifier/DoctypeRegistry.php">
|
|
<line>83</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="HTML.CustomDoctype">
|
|
<file name="HTMLPurifier/DoctypeRegistry.php">
|
|
<line>85</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="HTML.XHTML">
|
|
<file name="HTMLPurifier/DoctypeRegistry.php">
|
|
<line>88</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="HTML.Strict">
|
|
<file name="HTMLPurifier/DoctypeRegistry.php">
|
|
<line>93</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="Core.Encoding">
|
|
<file name="HTMLPurifier/Encoder.php">
|
|
<line>281</line>
|
|
<line>305</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="Test.ForceNoIconv">
|
|
<file name="HTMLPurifier/Encoder.php">
|
|
<line>283</line>
|
|
<line>310</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="Core.EscapeNonASCIICharacters">
|
|
<file name="HTMLPurifier/Encoder.php">
|
|
<line>307</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="Core.MaintainLineNumbers">
|
|
<file name="HTMLPurifier/ErrorCollector.php">
|
|
<line>81</line>
|
|
</file>
|
|
<file name="HTMLPurifier/Lexer.php">
|
|
<line>82</line>
|
|
</file>
|
|
<file name="HTMLPurifier/Lexer/DirectLex.php">
|
|
<line>45</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="Output.CommentScriptContents">
|
|
<file name="HTMLPurifier/Generator.php">
|
|
<line>41</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="Output.TidyFormat">
|
|
<file name="HTMLPurifier/Generator.php">
|
|
<line>70</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="Output.Newline">
|
|
<file name="HTMLPurifier/Generator.php">
|
|
<line>84</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="HTML.BlockWrapper">
|
|
<file name="HTMLPurifier/HTMLDefinition.php">
|
|
<line>213</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="HTML.Parent">
|
|
<file name="HTMLPurifier/HTMLDefinition.php">
|
|
<line>221</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="HTML.AllowedElements">
|
|
<file name="HTMLPurifier/HTMLDefinition.php">
|
|
<line>238</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="HTML.AllowedAttributes">
|
|
<file name="HTMLPurifier/HTMLDefinition.php">
|
|
<line>239</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="HTML.Allowed">
|
|
<file name="HTMLPurifier/HTMLDefinition.php">
|
|
<line>242</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="HTML.ForbiddenElements">
|
|
<file name="HTMLPurifier/HTMLDefinition.php">
|
|
<line>328</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="HTML.ForbiddenAttributes">
|
|
<file name="HTMLPurifier/HTMLDefinition.php">
|
|
<line>329</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="HTML.Trusted">
|
|
<file name="HTMLPurifier/HTMLModuleManager.php">
|
|
<line>198</line>
|
|
</file>
|
|
<file name="HTMLPurifier/Lexer.php">
|
|
<line>238</line>
|
|
</file>
|
|
<file name="HTMLPurifier/HTMLModule/Image.php">
|
|
<line>27</line>
|
|
</file>
|
|
<file name="HTMLPurifier/Lexer/DirectLex.php">
|
|
<line>34</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="HTML.AllowedModules">
|
|
<file name="HTMLPurifier/HTMLModuleManager.php">
|
|
<line>205</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="HTML.CoreModules">
|
|
<file name="HTMLPurifier/HTMLModuleManager.php">
|
|
<line>206</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="HTML.Proprietary">
|
|
<file name="HTMLPurifier/HTMLModuleManager.php">
|
|
<line>220</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="Attr.IDBlacklist">
|
|
<file name="HTMLPurifier/IDAccumulator.php">
|
|
<line>26</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="Core.Language">
|
|
<file name="HTMLPurifier/LanguageFactory.php">
|
|
<line>88</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="Core.LexerImpl">
|
|
<file name="HTMLPurifier/Lexer.php">
|
|
<line>70</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="Core.ConvertDocumentToFragment">
|
|
<file name="HTMLPurifier/Lexer.php">
|
|
<line>230</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="URI.Host">
|
|
<file name="HTMLPurifier/URIDefinition.php">
|
|
<line>57</line>
|
|
</file>
|
|
<file name="HTMLPurifier/URIFilter/DisableExternal.php">
|
|
<line>8</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="URI.Base">
|
|
<file name="HTMLPurifier/URIDefinition.php">
|
|
<line>58</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="URI.DefaultScheme">
|
|
<file name="HTMLPurifier/URIDefinition.php">
|
|
<line>65</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="URI.AllowedSchemes">
|
|
<file name="HTMLPurifier/URISchemeRegistry.php">
|
|
<line>42</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="URI.OverrideAllowedSchemes">
|
|
<file name="HTMLPurifier/URISchemeRegistry.php">
|
|
<line>43</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="URI.Disable">
|
|
<file name="HTMLPurifier/AttrDef/URI.php">
|
|
<line>23</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="URI.Munge">
|
|
<file name="HTMLPurifier/AttrDef/URI.php">
|
|
<line>68</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="Core.ColorKeywords">
|
|
<file name="HTMLPurifier/AttrDef/CSS/Color.php">
|
|
<line>12</line>
|
|
</file>
|
|
<file name="HTMLPurifier/AttrDef/HTML/Color.php">
|
|
<line>12</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="Attr.AllowedFrameTargets">
|
|
<file name="HTMLPurifier/AttrDef/HTML/FrameTarget.php">
|
|
<line>15</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="Attr.EnableID">
|
|
<file name="HTMLPurifier/AttrDef/HTML/ID.php">
|
|
<line>20</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="Attr.IDPrefix">
|
|
<file name="HTMLPurifier/AttrDef/HTML/ID.php">
|
|
<line>26</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="Attr.IDPrefixLocal">
|
|
<file name="HTMLPurifier/AttrDef/HTML/ID.php">
|
|
<line>28</line>
|
|
<line>31</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="Attr.IDBlacklistRegexp">
|
|
<file name="HTMLPurifier/AttrDef/HTML/ID.php">
|
|
<line>54</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="Attr.DefaultTextDir">
|
|
<file name="HTMLPurifier/AttrTransform/BdoDir.php">
|
|
<line>13</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="Core.RemoveInvalidImg">
|
|
<file name="HTMLPurifier/AttrTransform/ImgRequired.php">
|
|
<line>18</line>
|
|
</file>
|
|
<file name="HTMLPurifier/Strategy/RemoveForeignElements.php">
|
|
<line>20</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="Attr.DefaultInvalidImage">
|
|
<file name="HTMLPurifier/AttrTransform/ImgRequired.php">
|
|
<line>19</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="Attr.DefaultInvalidImageAlt">
|
|
<file name="HTMLPurifier/AttrTransform/ImgRequired.php">
|
|
<line>27</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="Core.EscapeInvalidChildren">
|
|
<file name="HTMLPurifier/ChildDef/Required.php">
|
|
<line>55</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="Cache.SerializerPath">
|
|
<file name="HTMLPurifier/DefinitionCache/Serializer.php">
|
|
<line>91</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="FilterParam.ExtractStyleBlocksTidyImpl">
|
|
<file name="HTMLPurifier/Filter/ExtractStyleBlocks.php">
|
|
<line>41</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="FilterParam.ExtractStyleBlocksScope">
|
|
<file name="HTMLPurifier/Filter/ExtractStyleBlocks.php">
|
|
<line>65</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="FilterParam.ExtractStyleBlocksEscaping">
|
|
<file name="HTMLPurifier/Filter/ExtractStyleBlocks.php">
|
|
<line>123</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="HTML.MaxImgLength">
|
|
<file name="HTMLPurifier/HTMLModule/Image.php">
|
|
<line>14</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="HTML.TidyLevel">
|
|
<file name="HTMLPurifier/HTMLModule/Tidy.php">
|
|
<line>45</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="HTML.TidyAdd">
|
|
<file name="HTMLPurifier/HTMLModule/Tidy.php">
|
|
<line>49</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="HTML.TidyRemove">
|
|
<file name="HTMLPurifier/HTMLModule/Tidy.php">
|
|
<line>50</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="AutoFormatParam.PurifierLinkifyDocURL">
|
|
<file name="HTMLPurifier/Injector/PurifierLinkify.php">
|
|
<line>15</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="Core.AggressivelyFixLt">
|
|
<file name="HTMLPurifier/Lexer/DOMLex.php">
|
|
<line>44</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="Core.DirectLexLineNumberSyncInterval">
|
|
<file name="HTMLPurifier/Lexer/DirectLex.php">
|
|
<line>59</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="Core.EscapeInvalidTags">
|
|
<file name="HTMLPurifier/Strategy/MakeWellFormed.php">
|
|
<line>22</line>
|
|
</file>
|
|
<file name="HTMLPurifier/Strategy/RemoveForeignElements.php">
|
|
<line>19</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="Core.RemoveScriptContents">
|
|
<file name="HTMLPurifier/Strategy/RemoveForeignElements.php">
|
|
<line>22</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="Core.HiddenElements">
|
|
<file name="HTMLPurifier/Strategy/RemoveForeignElements.php">
|
|
<line>23</line>
|
|
</file>
|
|
</directive>
|
|
<directive id="URI.HostBlacklist">
|
|
<file name="HTMLPurifier/URIFilter/HostBlacklist.php">
|
|
<line>8</line>
|
|
</file>
|
|
</directive>
|
|
</usage>
|