Subversion Repositories taios

Compare Revisions

Ignore whitespace Rev 449 → Rev 450

/_taios.php
212,7 → 212,8
'/\[img\](.+?)\[\/img\]/is',
'/\[ul\](.+?)\[\/ul\]/is',
'/\[ol\](.+?)\[\/ol\]/is',
'/\[li\](.+?)\[\/li\]/is'
'/\[li\](.+?)\[\/li\]/is',
'/\[pre\](.+?)\[\/pre\]/is'
);
 
$html = array(
225,7 → 226,8
'<img src="$1" />',
'<ul>$1</ul>',
'<ol>$1</ol>',
'<li>$1</li>'
'<li>$1</li>',
'<pre>$1</pre>',
);
 
$newstr = preg_replace($bbcode, $html, $newstr);