quotes on single lines
This commit is contained in:
parent
5efdbdeb91
commit
266f3c4a9a
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ class BBCode extends FormatterExtension {
|
|||
) as $el) {
|
||||
$text = preg_replace("!\[$el\](.*?)\[/$el\]!s", "<$el>$1</$el>", $text);
|
||||
}
|
||||
$text = preg_replace('!>>([^\d].+)!s', '<blockquote><small>$1</small></blockquote>', $text);
|
||||
$text = preg_replace('!>>([^\d].+)!', '<blockquote><small>$1</small></blockquote>', $text);
|
||||
$text = preg_replace('!>>(\d+)(#c?\d+)?!s', '<a class="shm-clink" data-clink-sel="$2" href="'.make_link('post/view/$1$2').'">>>$1$2</a>', $text);
|
||||
$text = preg_replace('!\[url=site://(.*?)(#c\d+)?\](.*?)\[/url\]!s', '<a class="shm-clink" data-clink-sel="$2" href="'.make_link('$1$2').'">$3</a>', $text);
|
||||
$text = preg_replace('!\[url\]site://(.*?)(#c\d+)?\[/url\]!s', '<a class="shm-clink" data-clink-sel="$2" href="'.make_link('$1$2').'">$1$2</a>', $text);
|
||||
|
|
Reference in a new issue