On Thu, Nov 29, 2012 at 09:25:50PM +0100, Stig Sandbeck Mathisen wrote:
> Vincent Lefevre <vinc...@vinc17.net> writes:
> 
> > It is more verbose, but I find it as readable (if you have characters
> > that normally need to be escaped, you can still use CDATA sections,
> > which is a way to keep the readability).
> 
> So to keep everyone equally happy, we need:
> 
> <config>
> <![CDATA[
> [section1]
> key1=val1
> key2=val2
> key3=♬♫♩♩♫
> 
> [section2]
> foo=bar
> ]]>
> </config>
> 
> Structure _and_ readability.
 
Should be more like:

- item: |
    <config>
    <![CDATA[
    [section1]
    key1=val1
    key2=val2

    [section2]
    foo={"bar": "baz"}
    ]]>
    </config>

Structure, readability *and* flexibility.

Ben.

-- 
Ben Hutchings
We get into the habit of living before acquiring the habit of thinking.
                                                              - Albert Camus


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20121129213830.ga13...@decadent.org.uk

Reply via email to