mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-03-24 11:06:07 -05:00
Closes #1567 The main reason I'm not simply merging Annika's PR is because this way makes it clearer that I'm taking responsibility for all this code, that it's mostly code I wrote, and also because it makes it easier to ensure that none of the files have been changed. (Not that I don't personally trust Annika, but I have something resembling an obligation to users not to expose them to risks based on personal trust.)
24 lines
882 B
Plaintext
24 lines
882 B
Plaintext
HTML.AllowedElements
|
|
TYPE: lookup/null
|
|
VERSION: 1.3.0
|
|
DEFAULT: NULL
|
|
--DESCRIPTION--
|
|
<p>
|
|
If HTML Purifier's tag set is unsatisfactory for your needs, you can
|
|
overload it with your own list of tags to allow. If you change
|
|
this, you probably also want to change %HTML.AllowedAttributes; see
|
|
also %HTML.Allowed which lets you set allowed elements and
|
|
attributes at the same time.
|
|
</p>
|
|
<p>
|
|
If you attempt to allow an element that HTML Purifier does not know
|
|
about, HTML Purifier will raise an error. You will need to manually
|
|
tell HTML Purifier about this element by using the
|
|
<a href="http://htmlpurifier.org/docs/enduser-customize.html">advanced customization features.</a>
|
|
</p>
|
|
<p>
|
|
<strong>Warning:</strong> If another directive conflicts with the
|
|
elements here, <em>that</em> directive will win and override.
|
|
</p>
|
|
--# vim: et sw=4 sts=4
|