On Thu, Nov 29, 2012 at 09:25:50PM +0100, Stig Sandbeck Mathisen wrote:
> Vincent Lefevre <[email protected]> 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 [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to