Bold text fix

This commit is contained in:
Difrex(Denis Zheleztsov) 2014-08-01 14:26:58 +04:00
parent 9795535fe4
commit e574ff6413

View File

@ -166,7 +166,7 @@ sub pre {
$post =~ s/>/>/g;
$post =~ s/&gt;(.+)/<font color='green'>>$1<\/font>/g;
$post =~ s/--/&mdash;/g;
$post =~ s/.?\*(.+)\*.?/<b>$1<\/b>/g;
$post =~ s/.?\*(.+)\*.?/&nbsp<b>$1<\/b>&nbsp/g;
$post =~ s/^$/<br>\n/g;
$post =~ s/(.?)\n/$1<br>\n/g;
$post