[geeklog-cvs] geeklog: The Wiki-style format broke national special characters...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sun Mar 22 16:57:24 EDT 2009


details:   http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/fc1a9e2f5449
changeset: 6852:fc1a9e2f5449
user:      Dirk Haun <dirk at haun-online.de>
date:      Sun Mar 22 21:56:55 2009 +0100
description:
The Wiki-style format broke national special characters, e.g. Japanese and German umlauts (bug #0000823)

diffstat:

2 files changed, 3 insertions(+)
public_html/docs/history   |    2 ++
public_html/lib-common.php |    1 +

diffs (23 lines):

diff -r 5e8fb0521910 -r fc1a9e2f5449 public_html/docs/history
--- a/public_html/docs/history	Sun Mar 22 15:36:21 2009 +0100
+++ b/public_html/docs/history	Sun Mar 22 21:56:55 2009 +0100
@@ -11,6 +11,8 @@
 + (TBD) Comment moderation and editable comments, by Jared Wenerd
 
 Other changes:
+- The Wiki-style format broke national special characters, e.g. Japanese and
+  German umlauts (bug #0000823) [Dirk]
 - Introduced new plugin API function PLG_migrate [Dirk]
 - Allow switching the DOCTYPE from the Configuration. Requires a theme that
   uses {doctype} instead of a hard-coded DOCTYPE declaration (feature request
diff -r 5e8fb0521910 -r fc1a9e2f5449 public_html/lib-common.php
--- a/public_html/lib-common.php	Sun Mar 22 15:36:21 2009 +0100
+++ b/public_html/lib-common.php	Sun Mar 22 21:56:55 2009 +0100
@@ -6755,6 +6755,7 @@
     require_once 'Text/Wiki.php';
 
     $wiki = new Text_Wiki();
+    $wiki->setFormatConf('Xhtml', 'translate', HTML_SPECIALCHARS);
     $wiki->disableRule('wikilink');
     $wiki->disableRule('freelink');
     $wiki->disableRule('interwiki');



More information about the geeklog-cvs mailing list