Hi,
Recently I've installed DotNetNuke 5.4.0.107, added the default blog module and started blogging. However, when I use code blocks with ASP.NET MVC code in it, the code gets corrupted all the time. To simulate:
Create a new blog entry.
Then add a code block with following code:
<%= Html.ActionLink("Edit", "Edit", new { id=item.ID }) %> |
<%= Html.ActionLink("Details", "Details", new { id=item.ID })%>
De code block is displayed fine. Update the blog entry and all is ok.
Then edit the entry, and you will see that the code is gone, only the | is still there. If you look at the HTML, you will see that it has transformed the <%=into <!--- and so it has become a comment and not visible anymore. The same happens if you use <%@ or <?.
Because of this I can't use code blocks. Does anyone know a workaround or fix, because I can't use code blocks because of this?