Skip to content

Prevent break between bracket + space / space + bracket #143

@strarsis

Description

@strarsis

In some languages, e.g. French, the brackets are padded with a space character:

(
descriptive text )
( descriptive text
)

and

(
descriptive text
)

Also in other languages, some CMS users add a space between bracket and enclosed text just for decorative purposes.

This should be handled by CSS instead, which is hard because CSS currently (and quite probably also in the near to mid future) can't select individual letters without using a JavaScript or server-side wrapping tool.

Related discussion (wp-typography plugin based on this library): mundschenk-at/wp-typography#291

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions