mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-22 16:31:53 +00:00
39 lines
1.6 KiB
HTML
39 lines
1.6 KiB
HTML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||
|
<meta name="description" content="Functional specification for HTML Purifier's advanced API." />
|
||
|
<link rel="stylesheet" type="text/css" href="style.css" />
|
||
|
|
||
|
<title>Advanced API - HTML Purifier</title>
|
||
|
|
||
|
</head><body>
|
||
|
|
||
|
<h1>Advanced API</h1>
|
||
|
|
||
|
<div id="filing">Filed under Development</div>
|
||
|
<div id="index">Return to the <a href="index.html">index</a>.</div>
|
||
|
<div id="home"><a href="http://hp.jpsband.org/">HTML Purifier</a> End-User Documentation</div>
|
||
|
|
||
|
<p>It makes no sense to adopt a <q>one-size-fits-all</q> approach to
|
||
|
filtersets: therefore, users must be able to define their own sets of
|
||
|
<q>allowed</q> elements, as well as switch in-between doctypes of HTML.</p>
|
||
|
|
||
|
<p>Our goals (pending reorganization):</p>
|
||
|
|
||
|
<ul>
|
||
|
<li>Easily switch from one doctype to another,</li>
|
||
|
<li>Create own doctype, possibly non-HTML based,</li>
|
||
|
<li>Select a custom set of tags and attributes,</li>
|
||
|
<li>Select XHTML 1.1 style modules,</li>
|
||
|
<li>Switch on/off <q>dangerous</q> tags,</li>
|
||
|
<li>Define custom behavior for pre-existing tags,</li>
|
||
|
<li>Define custom tags for their own use,</li>
|
||
|
<li>Define custom attribute type / override existing one,</li>
|
||
|
<li>Change the root node which fragment will be inserted in.</li>
|
||
|
</ul>
|
||
|
|
||
|
<div id="version">$Id: dev-optimization.html 655 2007-01-18 22:38:40Z Edward $</div>
|
||
|
|
||
|
</body></html>
|