diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/BBCodeParser.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/BBCodeParser.php b/src/BBCodeParser.php index 1f9aa26..7419491 100644 --- a/src/BBCodeParser.php +++ b/src/BBCodeParser.php @@ -17,6 +17,7 @@ class BBCodeParser { # convert non-BBCode links to BBCode (ack!) $in = preg_replace('/<!-- ([mw]) --><a class="postlink" href="(.*?)">(.*?)<\/a><!-- \1 -->/', "[url:$uid=\\2]\\3[/url:$uid]", $in); + $in = preg_replace('/<!-- l --><a class="postlink-local" href="(.*?)">(.*?)<\/a><!-- l -->/', "[url:$uid=\\1]\\2[/url:$uid]", $in); $in = preg_replace('/<!-- e --><a href="(.*?)">(.*?)<\/a><!-- e -->/', "[email:$uid=\\1]\\2[/email:$uid]", $in); $text_stack = array(); |