1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-07-31 03:10:09 +02:00

Tidy up Phorum extension. Add svn:ignore, add img to the default list of allowed tags (for smileys), improve naming convention, move loading code out of main namespace, and add reset. Probably the last thing to do before this is feature complete is to have a WYSIWYG flag that turns on escaping for edit posts.

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1270 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang
2007-06-29 00:28:07 +00:00
parent 2e7e411491
commit 148681d1b0
4 changed files with 66 additions and 53 deletions

View File

@@ -9,7 +9,7 @@ $config->set('HTML', 'Allowed',
// common semantic markup
'del,ins,strong,em,'.
// commmon presentational markup
's,strike,sub,sup,u,br,tt,div[class],'. // div because bbcode [quote] uses it
's,strike,sub,sup,u,br,tt,div[class],img[src|alt|title|class],'. // div because bbcode [quote] uses it, img for smileys
// uncommon semantic markup
'abbr[title],acronym[title],caption,code,dfn,cite,kbd,var,'.
// lists