Re: ReSpec 3.2

On 19/10/2013 12:49 , Leif Halvard Silli wrote:
> Robin Berjon, Fri, 18 Oct 2013 14:19:42 +0200:
>>    • If the browser supports it, the saving dialog now uses the
>> download attribute on <a> to trigger a real download of the generated
>> output, as "Overview.html". For browsers that don't support that yet,
>> you can nevertheless right click the button and save link as. In both
>> cases this is faster than the previous methods.
>
> Regarding the options for saving as XHTML5 and XHTML1, then both of
> them remove any CDATA declarations that might occurs inside <style> or
> <script>. As result, if <style> or  <script> contains “<” or “&”, the
> semantics of are changed from when they occurred inside CDATA. (If it
> is a goal to remove unnecessary CDATA declarations, then Polyglot
> Markup describes when it is safe to do so.)
>
> For HTML5 output, the CDATA declaration remains after saving.

The HTML5 output mode pretty much just saves what the browser has using 
innerHTML. The XML modes have to be handcrafted.

I don't personally have an interest in supporting the XML modes, but I 
will certainly take patches.

-- 
Robin Berjon - http://berjon.com/ - @robinberjon

Received on Sunday, 20 October 2013 21:36:36 UTC