I have followed instructions (basically exactly the code in the link) on how to create a unrestricted HTML field: http://blog.mastykarz.nl/publishing-rich-html-no-limitations-sharepoint-2010/
I am able to deploy the custom field and add it to a custom list, but when adding HTML to the custom column, it just shows the HTML code. Strange thing is in editing mode or when going to view the individual list items, the HTML code is displayed correctly.
Viewing a specific item displays correctly (notice on the page in the background, it just shows the HTML code):
I have done a bit of debugging and it seems like Sharepoint is adding some extra HTML encoding for some reason when displaying on the page, but not when viewing the item. Even adding plain text, some HTML code is added to the text. So, like when adding any HTML through Markup->HTML->Edit HTML Source, Sharepoint adds encoded HTML code on top of the HTML code I entered. For that yahoo List Item #2, I actually only entered:
Another Link:<a href="http://www.yahoo.com/" data-analytics="Tracked Link">Yahoo!</a>
In the debugger, it comes in like this:
Another Link:<a href="<a href=\"http://www.yahoo.com/\">http://www.yahoo.com/</a>" data-analytics="Tracked Link">Yahoo!</a><span id="ms-rterangecursor-start" style="display: none;"></span><span id="ms-rterangecursor-end" style="display: none;"></span>
I don't understand what is going on between adding the HTML code (with Edit HTML Source) and it going through the custom Visual Studio field.
Am I missing something here? Thanks for any help.