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
Yes, the output from Razor is parsed by Composite C1 and to be able to pick up on things like embedded function markup and custom html head elements the output needs to be well structured.

I just added support for CDATA sections - think this should serve you quite nicely - if you grab the latest 4,0 sources and compile composite.dll you should have the feature.
<![CDATA[ (markup here) ]]>
The string that goes inside the CDATA declaration will sail through the entire Composite C1 rendering engine untouched and will be emitted 'as is' at the end (the CDATA declaration will be removed at this point). Should save you the ARGH moment.

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>