Skip to content
Compare
Choose a tag to compare
@lrlna lrlna released this 17 Feb 17:20
· 722 commits to main since this release
0b9b757

0.2.1 - 2021-02-17

Fixes

  • Remove leading and ending " in BlockStringCharacter encoding - bnjjj, pull/168
    This ensures that a StringValue of type BlockStringCharacter, like the one in
    the test example below, does not getting encoded with an additional " ending
    up with """" leading set of characters.

    let desc = StringValue::Top {
        source: Some(
            "\"Favourite nap spots include: plant corner, pile of clothes.\""
                .to_string(),
        ),
    };
    
    assert_eq!(
        desc.to_string(),
        r#""""
    Favourite  nap spots include: plant corner, pile of clothes.
    """
    "#
      );