Skip to content

Trim Trailing Whitespace #443

@harlessmark

Description

@harlessmark

Description of the bug

We have sponsored articles that outputs [byline], [organization] on the front end. Sometimes, editors will accidentally add a trailing whitespace to the end of their name causing the output Mark , Alley Interactive. We'd like to have that whitespace trimmed so there is no space after the byline.

Steps To Reproduce

The issue noted above is project specific. But if you add a whitespace to the end of an author's name using Byline Manager, it will render with the whitespace at the end.

Additional Information

No response

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