Skip to content

JSONEncoder is incorrectly merging subsequent comments #600

@leandrocp

Description

@leandrocp

The following template

~S|<!-- comment 1 --><!-- comment 2 -->|

Is being encoded as:

[%{"attrs" => %{}, "content" => [" comment 1  comment 2 "], "tag" => "html_comment"}]

It should generate two elements instead of merging into a single comment element.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:visual-editorImpacts Page Visual Editor (Visual Page Builder)bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions