mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-11-09 23:28:42 +00:00
Add todo items to the files.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@402 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
parent
9dd4dcb27a
commit
2299f0c831
@ -1,5 +1,15 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
TODO:
|
||||
- make XML format richer (see below)
|
||||
- extend XSLT transformation (see the corresponding XSLT file)
|
||||
- allow generation of packaged docs that can be easily moved
|
||||
- multipage documentation
|
||||
- generate string XML file for types
|
||||
- determine how to multilingualize
|
||||
*/
|
||||
|
||||
/*
|
||||
if (php_sapi_name() != 'cli') {
|
||||
header('Content-type:text/plain');
|
||||
@ -27,10 +37,11 @@ $dom_document->formatOutput = true;
|
||||
$dom_root->appendChild($dom_document->createElement('title', 'HTML Purifier'));
|
||||
|
||||
/*
|
||||
TODO:
|
||||
TODO for XML format:
|
||||
- namespace descriptions
|
||||
- enumerated values
|
||||
- default values
|
||||
- create a definition (DTD or other) once interface stabilizes
|
||||
*/
|
||||
|
||||
foreach($definition->info as $namespace_name => $namespace_info) {
|
||||
|
@ -13,6 +13,12 @@
|
||||
media-type = "text/html"
|
||||
/>
|
||||
|
||||
<!--
|
||||
TODO:
|
||||
o Table-ize types
|
||||
o Include CSS
|
||||
-->
|
||||
|
||||
<xsl:template match="/">
|
||||
<html lang="en" xml:lang="en">
|
||||
<head>
|
||||
|
Loading…
Reference in New Issue
Block a user