forked from extern/egroupware
8f797be836
- can be used via html class like: $clean_html = html::purify($html); - using it now in eTemplate to remove malicious code from html: a) when displaying "formatted text" b) when "formatted text" get's input by the user
19 lines
571 B
Plaintext
Executable File
19 lines
571 B
Plaintext
Executable File
HTML.BlockWrapper
|
|
TYPE: string
|
|
VERSION: 1.3.0
|
|
DEFAULT: 'p'
|
|
--DESCRIPTION--
|
|
|
|
<p>
|
|
String name of element to wrap inline elements that are inside a block
|
|
context. This only occurs in the children of blockquote in strict mode.
|
|
</p>
|
|
<p>
|
|
Example: by default value,
|
|
<code><blockquote>Foo</blockquote></code> would become
|
|
<code><blockquote><p>Foo</p></blockquote></code>.
|
|
The <code><p></code> tags can be replaced with whatever you desire,
|
|
as long as it is a block level element.
|
|
</p>
|
|
--# vim: et sw=4 sts=4
|