[geeklog-cvs] geeklog: Removed COM_undoSpecialChars() for the story intro and ...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sun Aug 28 11:08:58 EDT 2011


changeset 8380:9143063e4e09
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/9143063e4e09
user: Dirk Haun <dirk at haun-online.de>
date: Sun Jul 24 17:09:50 2011 +0200
description:
Removed COM_undoSpecialChars() for the story intro and body text since that broke the [code] tag (bug #0001368)

diffstat:

 system/lib-story.php |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r f482f353512a -r 9143063e4e09 system/lib-story.php
--- a/system/lib-story.php	Sun Jul 24 10:07:44 2011 +0200
+++ b/system/lib-story.php	Sun Jul 24 17:09:50 2011 +0200
@@ -80,8 +80,8 @@
         $storytpl = 'storytext.thtml';
     }
 
-    $introtext = COM_undoSpecialChars($story->displayElements('introtext'));
-    $bodytext = COM_undoSpecialChars($story->displayElements('bodytext'));
+    $introtext = $story->displayElements('introtext');
+    $bodytext = $story->displayElements('bodytext');
     $readmore = empty($bodytext)?0:1;
     $numwords = COM_numberFormat(count(explode(' ', COM_getTextContent($bodytext))));
     if (COM_onFrontpage()) {



More information about the geeklog-cvs mailing list