PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Text » Text_Wiki » Bug #6556

Hard code 'htmlentities' in Render/Xhtml/Code.php

Details

Submitted2006-01-23 07:47 UTC
Fromroux at dot-wired dot org
StatusDuplicate
PackageText_Wiki
PHP Version4.4.0
OSDebian
Roadmaps(Not assigned)

Comments

[2006-01-23 07:47 UTC] roux at dot-wired dot org

Description:
------------
in Render/Xhtml/Code.php, htmlentities function is hardcoded, so source text always convert with htmlentities function even if use setFormatConf method such as

$wiki->setFormatConf('Xhtml', 'translate', HTML_SPECIALCHARS);

I think it is better to make it switchable like Render/Xhtml.php