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

[feat]: Replace   with non-breaking space #48

Open
scriptoriumwebdev opened this issue Aug 28, 2024 · 0 comments
Open

[feat]: Replace   with non-breaking space #48

scriptoriumwebdev opened this issue Aug 28, 2024 · 0 comments
Labels
issue: enhancement Issue suggesting an enhancement to an existing feature

Comments

@scriptoriumwebdev
Copy link

scriptoriumwebdev commented Aug 28, 2024

A clear and concise description of what the feature is

This feature replaces all the incidences of   found in this codebase with regular non-breaking space

Why should this feature be included?

Improved readability. This feature woud make the text more readable.

Please provide an example for how this would work

transform:

<p>This&nbsp;is&nbsp;a&nbsp;test&nbsp;sentence.</p>

with

.replace(/&nbsp;/g, " ")

or

.replace(/&nbsp;/g, "\u00A0")

to:

<p>This is a test sentence.</p>

@scriptoriumwebdev scriptoriumwebdev added the issue: enhancement Issue suggesting an enhancement to an existing feature label Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: enhancement Issue suggesting an enhancement to an existing feature
Projects
None yet
Development

No branches or pull requests

1 participant