Skip to content

YamlFile#load & #loadWithComments behave different on double quote value #79

@Ancash

Description

@Ancash

Version: 1.8.4
i have a yaml file:

test:
- "&8%plugin_so-sum_{cat}_{sub-cat}%&8 in &8%plugin_so-count_{cat}_{sub-cat}%&8 offers"

when i load it with YamlFile#load everything is fine.
when i load it with YamlFile#loadWithComments the file now looks like this:

test: offers'    offers'

this is not the behaviour i expected because there are no "#" denoting a comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions