[html-formfu] 'Syck parser' because of ': ' inside of comment_xml

Charlie Garrison garrison at zeta.org.au
Thu Dec 3 03:01:47 GMT 2009


Good afternoon,

On 2/12/09 at 7:59 AM +0100, Jens Schwarz <blacky6767 at gmx.de> wrote:

>in my yml's I have elements like this:
>
>- type: Text
>  name: foo
>  comment_xml:
>    <img class="foo" src="someimage.png" alt="foo"/>
>    <div>
>      <div class="foodiv1">foobar</div>
>      <div class="foodiv2">
>        foo: bar
>      </div>
>    </div>

Does the yaml 'string block' syntax help (note the pipe symbol); eg:

comment_xml: |
  <img class="foo" src="someimage.png" alt="foo"/>
  <div>
    <div class="foodiv1">foobar</div>
    <div class="foodiv2">
      foo: bar
    </div>
  </div>



Charlie

-- 
   Ꮚ Charlie Garrison ♊ <garrison at zeta.org.au>
   〠 PO Box 141, Windsor, NSW 2756, Australia

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
http://www.ietf.org/rfc/rfc1855.txt



More information about the HTML-FormFu mailing list