• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed Parsing of @ usernames inside [CODE] block


Well-known member
If your site has a user named "media" and you post the following CSS in a code block:
@media (max-width:480px) {
    * {
        somecss: here;
It gets parsed and ends up looking like this:


Since CODE blocks never link the user (rather show the BBCode directly), wouldn't it make sense to just not auto-parse the @Username's in the CODE block?


XenForo developer
Staff member
Technically the full workaround to this is pretty significantly complex - it involves full on BB code parsing. I have done a general workaround for this though.