1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-03 13:17:24 +02:00

Updated example.

This commit is contained in:
Cameron
2017-01-29 08:56:44 -08:00
parent c552bb5a3f
commit 848e8f653f

View File

@@ -39,7 +39,7 @@ class _blank_parse
*/ */
function toHtml($text, $context='') function toHtml($text, $context='')
{ {
$text = str_replace('****', '<hr />', $text); $text = str_replace('****', '<hr>', $text);
return $text; return $text;
} }
@@ -54,7 +54,8 @@ class _blank_parse
*/ */
function toDB($text, $param=array()) function toDB($text, $param=array())
{ {
$text = str_replace('<hr />', '****', $text); // e107::getDebug()->log($text);
$text = str_replace('<hr>', '****', $text);
return $text; return $text;
} }