First, multiline text export outdents, rather than indents, successive lines. Second, text that includes special yaml characters, such as :, must be done via quoting or using the | indicator.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2008-01-17
Logged In: YES
user_id=843897
Originator: NO
I just discovered the YAML support feature, and have started to use it. I am no expert on YAML either, but so far there are two bugs I can identify and describe.
Firstly, HTML output is escaped to HTML entities, which shouldn't be the case:
# Wrong
thing:
html_content: <p>This is a paragraph</p>
# Right
thing:
html_content: <p>This is a paragraph</p>
Secondly, the colon character ':' must be escaped in values. For this, enclose the offending string between double quotes:
# Wrong
thing:
title: 1: misc stuff
# Right
thing:
title: "1: misc stuff"
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=326580
Originator: NO
i am not (very) familiar with YAML export - can you please provide references and/or detailed examples what is wrong and how it should look?
Logged In: YES
user_id=326580
Originator: NO
Fixed in subversion, thanks for reporting.
Logged In: YES
user_id=843897
Originator: NO
I just discovered the YAML support feature, and have started to use it. I am no expert on YAML either, but so far there are two bugs I can identify and describe.
Firstly, HTML output is escaped to HTML entities, which shouldn't be the case:
# Wrong
thing:
html_content: <p>This is a paragraph</p>
# Right
thing:
html_content: <p>This is a paragraph</p>
Secondly, the colon character ':' must be escaped in values. For this, enclose the offending string between double quotes:
# Wrong
thing:
title: 1: misc stuff
# Right
thing:
title: "1: misc stuff"