From: <var...@us...> - 2009-09-05 10:48:36
|
Revision: 7099 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7099&view=rev Author: vargenau Date: 2009-09-05 10:48:26 +0000 (Sat, 05 Sep 2009) Log Message: ----------- More tags: thead, tfoot, tbody, th, sub, sup Modified Paths: -------------- trunk/lib/plugin/RawHtml.php Modified: trunk/lib/plugin/RawHtml.php =================================================================== --- trunk/lib/plugin/RawHtml.php 2009-09-01 11:40:33 UTC (rev 7098) +++ trunk/lib/plugin/RawHtml.php 2009-09-05 10:48:26 UTC (rev 7099) @@ -189,8 +189,8 @@ if ($allowedtags=="") { $allowedtags= array ( "p"=>1, "br"=>0, "a"=>1, "img"=>0, "li"=>1, "ol"=>1, "ul"=>1, "b"=>1, "i"=>1, "em"=>1, "strong"=>1, "del"=>1, "ins"=>1, - "u"=>1, "blockquote"=>1, "pre"=>1, "hr"=>0, - "table"=>1, "tr"=>1, "td"=>1, + "sub"=>1, "sup"=>1, "u"=>1, "blockquote"=>1, "pre"=>1, "hr"=>0, + "table"=>1, "thead"=>1, "tfoot"=>1, "tbody"=>1, "tr"=>1, "td"=>1, "th"=>1, ); } elseif (!is_array($allowedtags)) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2012-12-17 09:53:29
|
Revision: 8663 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8663&view=rev Author: vargenau Date: 2012-12-17 09:53:22 +0000 (Mon, 17 Dec 2012) Log Message: ----------- Update getDescription Modified Paths: -------------- trunk/lib/plugin/RawHtml.php Modified: trunk/lib/plugin/RawHtml.php =================================================================== --- trunk/lib/plugin/RawHtml.php 2012-12-17 09:50:33 UTC (rev 8662) +++ trunk/lib/plugin/RawHtml.php 2012-12-17 09:53:22 UTC (rev 8663) @@ -44,7 +44,7 @@ */ /** - * A plugin to provide for raw HTML within wiki pages. + * Provide for raw HTML within wiki pages. */ class WikiPlugin_RawHtml extends WikiPlugin @@ -56,7 +56,7 @@ function getDescription() { - return _("A plugin to provide for raw HTML within wiki pages."); + return _("Provide for raw HTML within wiki pages."); } function getDefaultArguments() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2014-11-19 14:34:15
|
Revision: 9341 http://sourceforge.net/p/phpwiki/code/9341 Author: vargenau Date: 2014-11-19 14:34:11 +0000 (Wed, 19 Nov 2014) Log Message: ----------- Remove comment Modified Paths: -------------- trunk/lib/plugin/RawHtml.php Modified: trunk/lib/plugin/RawHtml.php =================================================================== --- trunk/lib/plugin/RawHtml.php 2014-11-19 14:33:38 UTC (rev 9340) +++ trunk/lib/plugin/RawHtml.php 2014-11-19 14:34:11 UTC (rev 9341) @@ -97,10 +97,6 @@ // http://chxo.com/scripts/safe_html-test.php looks better $argstr = $this->safe_html($argstr); - /*return $this->disabled(HTML(fmt("This %s plugin on %s is disabled because of unsafe HTML code. ",$this->getName(), $basepage), - fmt("See PhpWiki:allowing%20safe%20HTML") - )); - */ } return HTML::raw($argstr); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2021-09-30 12:52:23
|
Revision: 10603 http://sourceforge.net/p/phpwiki/code/10603 Author: vargenau Date: 2021-09-30 12:52:20 +0000 (Thu, 30 Sep 2021) Log Message: ----------- lib/plugin/RawHtml.php: update policy comments Modified Paths: -------------- trunk/lib/plugin/RawHtml.php Modified: trunk/lib/plugin/RawHtml.php =================================================================== --- trunk/lib/plugin/RawHtml.php 2021-09-30 12:43:51 UTC (rev 10602) +++ trunk/lib/plugin/RawHtml.php 2021-09-30 12:52:20 UTC (rev 10603) @@ -22,26 +22,16 @@ * */ -// Moved to IniConfig and config-default.ini -// Define ENABLE_RAW_HTML to false (in config.ini) to disable the RawHtml -// plugin completely -/* -if (!defined('ENABLE_RAW_HTML')) - define('ENABLE_RAW_HTML', true); -// must be locked -if (!defined('ENABLE_RAW_HTML_LOCKEDONLY')) - define('ENABLE_RAW_HTML_LOCKEDONLY', true); -// sanitize to safe html code -if (!defined('ENABLE_RAW_HTML_SAFE')) - define('ENABLE_RAW_HTML_SAFE', true); -*/ - -/** We defined a better policy when to allow RawHtml: +/** + * We defined a better policy when to allow RawHtml: * ENABLE_RAW_HTML_LOCKEDONLY: * - Allowed if page is locked by ADMIN_USER. * ENABLE_RAW_HTML_SAFE: * - Allow some sort of "safe" html tags and attributes. * Unsafe attributes are automatically stripped. (Experimental!) + * + * Define ENABLE_RAW_HTML to false (in config.ini) to disable the RawHtml + * plugin completely */ /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |