Menu

#2582 (ok 3.0) Problems with yaml text export

fixed
1
2013-06-11
2007-11-05
No

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.

Discussion

  • Sebastian Mendel

    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?

     
  • Sebastian Mendel

    • assigned_to: nobody --> cybot_tm
     
  • Sebastian Mendel

    • priority: 5 --> 1
    • summary: Problems with yaml text export --> (ok 3.0) Problems with yaml text export
     
  • Sebastian Mendel

    Logged In: YES
    user_id=326580
    Originator: NO

    Fixed in subversion, thanks for reporting.

     
  • Anonymous

    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"

     
  • Marc Delisle

    Marc Delisle - 2008-09-27
    • status: open --> closed
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed --> fixed
     
MongoDB Logo MongoDB