A
<script></script>
B
<h1></h1>
C
<h1>Hello</h1>
D
<script></script>
<!-- -->
A
<script></script>
<br />
B
<h1></h1>
>
C
<script></script>
<
@contactNode.mobileTrackingCode.ToString()
Error loading Razor Script [Razor]ProductContact.cshtml The best overloaded method match for 'System.Web.WebPages.Html.HtmlHelper.Raw(string)' has some invalid arguments
Add a HTML tag to the data that is stored in Umbraco.
e.g.
...
...
...
...
if (typeof(conv_handler) == 'function') {
conv_handler(opt);
}
}
</script>
<br /><!-- when we have this break everything works! yaaahoooooooooo!! -->
I think it's a bug! Workaround to check type?
@using umbraco.MacroEngines
@{
if (Model.simple.GetType() == typeof(DynamicXml)){
@Html.Raw(Model.simple.ToXml().ToString())
} else {
@Html.Raw(Model.simple.ToString())
}
}