Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Quote BBCode
![adrian.](https://secure.gravatar.com/avatar/299442ae8dafa297aa3a26ac6f46d8b2/?default=https%3A%2F%2Fvanillicon.com%2F801fa9c38d8dbb57704863da90fc20ce_100.png&rating=g&size=100)
I'm currently moving my punbb forum across to Vanilla and I am using the Better BBCode extension to parse BBCode.
The problem I'm having is that it's missing out the person you're quoting on the following example of a quote:
[quote=author]Notable Post[/quote]
Does anybody know of a way to change this extension to parse the example code correctly?
0
Comments
@Bergamot, how would you transform [quote=author] so that it would match your BBCode? If it's simple, then I can do that as part of the importing of the data.
$content = preg_replace("/\[quote=(.*)\]([^\[]*)\[\/quote\]/Ui", '<blockquote><cite>\\1</cite>\\2</blockquote>', $content);