Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: Valid HTML5 and Composite C1 (Beta 3)

$
0
0
Since Razor is just an advanced StringBuilder there is no reason not to treat its output as normal valid XHTML. If we weren't doing that, Razor functions could never be used as input for other functions that expects XHTML.

But seriously? Just cut/paste the code into a ascx/ascx.cs file, and your good to go. I always do this when working with ie Google Custom Search, because i can never trust the markup i receive from them and got tired of maintaining a search-and-replace table.

Viewing all articles
Browse latest Browse all 2540

Trending Articles