[geeklog-cvs] geeklog: Wiki text is already handled by the story class so we d...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sun Aug 9 14:31:53 EDT 2009


details:   http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/abaeea30d843
changeset: 7252:abaeea30d843
user:      Dirk Haun <dirk at haun-online.de>
date:      Sun Aug 09 20:30:15 2009 +0200
description:
Wiki text is already handled by the story class so we don't need to convert it here

diffstat:

 public_html/profiles.php |  4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diffs (14 lines):

diff -r db49ddb357c4 -r abaeea30d843 public_html/profiles.php
--- a/public_html/profiles.php	Sun Aug 09 19:58:27 2009 +0200
+++ b/public_html/profiles.php	Sun Aug 09 20:30:15 2009 +0200
@@ -348,10 +348,6 @@
 
     $introtext = $story->DisplayElements('introtext');
     $bodytext  = $story->DisplayElements('bodytext');
-    if ($story->DisplayElements('postmode') === 'wikitext') {
-        $introtext = COM_renderWikiText($introtext);
-        $bodytext  = COM_renderWikiText($bodytext);
-    }
     $introtext = COM_undoSpecialChars(strip_tags($introtext));
     $bodytext  = COM_undoSpecialChars(strip_tags($bodytext));
 



More information about the geeklog-cvs mailing list