Skip to content

Incorrect processing of <br> tags when exporting #101

Description

@alexshink

Hello! First of all, thanks for your work.

What is the problem?

When you run the export command for a .vue file, translation strings containing the <br> tag are not generated correctly in .po files: </br> is added at the end of any such line. Therefore, the translation does not work because the keys are not the same.

Source string in template:
image

String in .po file after export:
image

Expected Behavior

An extra closing </br> tag should not be generated.

Environment

Windows 10
Vue 3.0.0
@vue/cli 4.5.10
easygettext 2.16.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions