Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
strarsis opened this issue Sep 21, 2021 · 0 comments
Open

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

strarsis opened this issue Sep 21, 2021 · 0 comments

Comments

@strarsis
Copy link

strarsis commented Sep 21, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant