Thread: [pLog-General] [ plog-Bugs-933540 ] Html Code Display Error in EditPost
Brought to you by:
jondaley
From: SourceForge.net <no...@so...> - 2004-04-12 06:43:36
|
Bugs item #933540, was opened at 2004-04-11 23:43 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=571270&aid=933540&group_id=83964 Category: Interface (example) Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Html Code Display Error in EditPost Initial Comment: editpost textarea display <> to < > shoud replace <->&lt; >->&gt; modify /class/dao/article.class.php line 536 function getIntroText() { $postParts = explode( POST_EXTENDED_TEXT_MODIFIER, $this->_text ); $intro = str_replace("<", "&lt;", $postParts[0]); $intro = str_replace(">", "&gt;", $intro); return $intro; } function getExtendedText() { $postParts = explode( POST_EXTENDED_TEXT_MODIFIER, $this->_text ); $ext = str_replace("<", "&lt;", $postParts [1]); $ext = str_replace(">", "&gt;", $ext); return $ext; } ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=571270&aid=933540&group_id=83964 |