Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I'm entering "< PREVIOUS>" into the paramenter and I get "& PREVIOUS>" on my button. Please help.
@Model.MacroParameters["buttonName1"]
That's because < and > are special characters in HTML and thus get encoded as character references by default.
<
>
You can output the raw HTML like this:
@Html.Raw(Model.MacroParameters["buttonName1"])
Awesome! That did the trick. Thanks Dan
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
@Model.MacroParameters render issue
I'm entering "< PREVIOUS>" into the paramenter and I get "& PREVIOUS>" on my button. Please help.
@Model.MacroParameters["buttonName1"]
That's because
<
and>
are special characters in HTML and thus get encoded as character references by default.You can output the raw HTML like this:
Awesome! That did the trick. Thanks Dan
is working on a reply...