Skip to content

Commit

Permalink
And fix the quote bbcode to account for msg
Browse files Browse the repository at this point in the history
Signed-off-by: emanuele <emanuele45@gmail.com>
  • Loading branch information
Spuds authored and emanuele45 committed Jul 12, 2014
1 parent 4db2e25 commit 983cbc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/Subs.php
Expand Up @@ -1198,7 +1198,7 @@ function parse_bbc($message, $smileys = true, $cache_id = '', $parse_tags = arra
'tag' => 'quote',
'parameters' => array(
'author' => array('match' => '([^<>]{1,192}?)'),
'link' => array('match' => '(?:board=\d+;)?((?:topic|threadid)=[\dmsg#\./]{1,40}(?:;start=[\dmsg#\./]{1,40})?|action=profile;u=\d+)'),
'link' => array('match' => '(?:board=\d+;)?((?:topic|threadid)=[\dmsg#\./]{1,40}(?:;start=[\dmsg#\./]{1,40})?|msg=\d{1,40}|action=profile;u=\d+)'),
'date' => array('match' => '(\d+)', 'validate' => 'htmlTime'),
),
'before' => '<div class="quoteheader"><a href="' . $scripturl . '?{link}">' . $txt['quote_from'] . ': {author} ' . ($modSettings['todayMod'] == 3 ? ' - ' : $txt['search_on']) . ' {date}</a></div><blockquote>',
Expand Down

0 comments on commit 983cbc0

Please sign in to comment.