Adding Flash Video into Gallery Description Gallery2.3 21Feb2009
http://gallery.menalto.com/node/85750
htmlSafe is a method of /gallery2/modules/core/classes/GalleryUtilities.class
set it to return the html untouched. (Let the system return the untouched html.
/gallery2/modules/core/classes/GalleryUtilities.class
it should have gone from this lines ~850 - 864:
function htmlSafe($html, $decode=false) {
GalleryCoreApi::requireOnce('lib/pear/Safe.php');
static $parser;
if (!isset($parser)) {
$parser =& new HTML_Safe();}
if ($decode) {GalleryUtilities::unsanitizeInputValues($html, false);}
$html = $parser->parse($html);
if ($decode) {GalleryUtilities::sanitizeInputValues($html, false);}
return $html;}
(remove the above lines, and add the code below)
to this:
function htmlSafe($html, $decode=false)
{return $html;}


0 comments:
Post a Comment