[pLog-svn] r7150 - plog/branches/lifetype-1.2/class/dao
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Wed Oct 26 19:31:50 EDT 2011
Author: jondaley
Date: 2011-10-26 19:31:50 -0400 (Wed, 26 Oct 2011)
New Revision: 7150
Modified:
plog/branches/lifetype-1.2/class/dao/article.class.php
Log:
call balanceTags on intro portion of post so unclosed tags don't break everything. fixes an issue we've been having ever since going to the [@more@] tag. http://bugs.lifetype.net/view.php?id=1660
Modified: plog/branches/lifetype-1.2/class/dao/article.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/dao/article.class.php 2011-10-26 23:31:03 UTC (rev 7149)
+++ plog/branches/lifetype-1.2/class/dao/article.class.php 2011-10-26 23:31:50 UTC (rev 7150)
@@ -137,7 +137,7 @@
function getText( $replace = '' )
{
if( $replace !== false )
- return str_replace( POST_EXTENDED_TEXT_MODIFIER, $replace, $this->_text );
+ return TextFilter::balanceTags(str_replace( POST_EXTENDED_TEXT_MODIFIER, $replace, $this->_text ));
else
return $this->_text;
}
More information about the pLog-svn
mailing list