Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

how to post code asp.net mvc with '@' character, that vanilla does not create link to profile?

luasoftluasoft New
edited February 2015 in Vanilla 2.0 - 2.8

i having prolems when post asp.net mvc source code.
error like this :

<div>
@Html.Label("Username", "Username")
</div>

@Html link to profile :(

how can i fix that?

thanks.

Tagged:

Comments

  • Options

    why would this have anything to do with vanilla?

    grep is your friend.

  • Options
    R_JR_J Ex-Fanboy Munich Admin

    I didn't got it in the first run, also! I guess he doesn't want pasted code to be parsed by the mentions formatter.

    For <marquee>Hello @x00</marquee> its okay if it is parsed as a username, but if you have <div>@some_directive</div> there's no sense in turning it into a profile link.

  • Options

    Oh ok got it, I would say technically it could be considered a bug

    @Html.Label("Username", "Username")
    

    meanwhile use

    <pre>
    &#64;Html.Label("Username", "Username")
    </pre>
    

    grep is your friend.

Sign In or Register to comment.