• 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

digitalpoint

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

upload_2013-10-21_19-30-32.png

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?
 

Mike

XenForo developer
Staff member
#2
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.