minor whitespace cleanup
This commit is contained in:
parent
4d23902d48
commit
75022367e5
@ -439,7 +439,6 @@ function bbcode($Text,$preserve_nl = false, $tryoembed = true) {
|
|||||||
if (strpos($Text,'[/center]') !== false) {
|
if (strpos($Text,'[/center]') !== false) {
|
||||||
$Text = preg_replace("(\[center\](.*?)\[\/center\])ism","<div style=\"text-align:center;\">$1</div>",$Text);
|
$Text = preg_replace("(\[center\](.*?)\[\/center\])ism","<div style=\"text-align:center;\">$1</div>",$Text);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check for list text
|
// Check for list text
|
||||||
$Text = str_replace("[*]", "<li>", $Text);
|
$Text = str_replace("[*]", "<li>", $Text);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user