Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
@@ -397,11 +421,15 @@
$itemVar['body'] = preg_replace_callback($delim_expr, array(&$this, '_convertDelim'), $itemVar['body']);
$itemVar['more'] = preg_replace_callback($delim_expr, array(&$this, '_convertDelim'), $itemVar['more']);
if( $stripbr ){
$itemVar['body'] = preg_replace("/([\r\n])/","$1",$itemVar['body']);
$itemVar['more'] = preg_replace("/([\r\n])/","$1",$itemVar['more']);
}
+ // mrmt
+ $itemVar['body'] = $this->unfold($itemVar['body']);
+ $itemVar['more'] = $this->unfold($itemVar['more']);
+
echo preg_replace("/(\r\n|\n|\r)/m", "\n", mb_convert_encoding( $tpl->fill($entryTpl, $itemVar, null), 'UTF-8', _CHARSET
@mrmt

This comment has been minimized.

Copy link
Owner Author

commented Mar 8, 2016

NucleusからWordPressへ移行 - なんか:かんがえて-6
http://blog.mrmt.net/entry/2010/09/11/050933

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.