Skip to content

If resx string contains newlines, default comment breaks codegen #308

@kzu

Description

@kzu

Since we default the comment to the raw value of the resource string, we cause a build failure in this case.
We should apply the same logic we have for an explicit comment attribute in the resx, which is to replace newlines with spaces.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions