Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

Excessive space rendered after plugins returning tags causes comma etc. looks ugly #531

@sq9mev

Description

@sq9mev

Well, eg. used with djangocms_bootstrap4 Link plugin, an excessive space is rendered.
It looks ugly especially when comma or point is next to the link:

LinkText ,

Should be:

LinkText,

I'm not sure if it's djangocms_bootstrap4 issue or djangocms-text-ckeditor, but i think there may be lots of cases when this space is unwanted and cannot be removed, while it may be inserted by editor in Text plugin edit form.

My proposal is to strip spaces in _render_tag(). Pull request will be provided in a moment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions