Home » Text » Text_Wiki » Bug #6556
Hard code 'htmlentities' in Render/Xhtml/Code.php
Details
| Submitted | 2006-01-23 07:47 UTC |
|---|---|
| From | roux at dot-wired dot org |
| Status | Duplicate |
| Package | Text_Wiki |
| PHP Version | 4.4.0 |
| OS | Debian |
| 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