PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

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