Comments (8)
This should be changed in 3b4c619. All no breaking spaces are allowed until use cases for removing some start showing up
from just-read.
I am doing this purposefully, though I'm open to discussion on whether or not to keep this functionality. I've come across some sites that use
for pseudo-margins/padding and thus wished to remove those.
Though I suppose it would be better to convert them to regular spaces if there's not another space around it. Is that the functionality you want, or are you asking for them to remain completely?
from just-read.
When there is one non breaking space i would just leave it "alone" and not convert it at all. When there are many non breaking spaces right next to each other i would do it like you do it now, and remove them. What do you think about that?
from just-read.
Maybe so. Do you have a (or several) website that you noticed this on? I'll look for the one(s) that I created the behavior based on
from just-read.
http://www.mp.pl/pacjent/pierwsza_pomoc/145496,udar-cieplny (but it's in Polish, sorry).
When you see the source of the article you will see how it is formatted. It tries to conform to the rules of written polish. For example "o tym" should never be broken in the middle to crate new line and that's why they have in that place.
from just-read.
Polish uses it a lot, huh? :D
I'll update it to act as you suggest, though it'll likely be a day or two until it comes out because of the weekend.
Thanks for the report!
from just-read.
Maybe not a lot. But it does happen, especially when someone tries to format text according to print rules.
Thank's for quick reaction!
from just-read.
I came across a page that was using it as spacing. It had something like
<p> </p>
So, as of 857ee83 / 0.0.32, I remove all elements that only have
s in them. Let me know if I broke something, haha
from just-read.
Related Issues (20)
- cannot load images because "blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource." HOT 1
- text-decoration doesn't seem to work HOT 3
- Option to remove floating icon to "add a comment" HOT 1
- RSS feed for shared pages HOT 2
- Share Article button not working HOT 8
- Removing highlight colour instead of text HOT 2
- Reddit is Borked HOT 2
- Add ChatGPT summarization on click HOT 21
- Works great but does not support 'Auto Copy' extension HOT 1
- icon menu ‘select content to read’ lost in ver5.3.1 HOT 1
- Coding section not support HOT 1
- Small SVG blown up to large white block HOT 3
- Code blocks are condensed into one line HOT 4
- Comic Dak Mode
- Wrong text extracted from page on defenseone.com HOT 2
- allow to specify the openai API endpoint base url HOT 2
- Just Read fails to open due to invalid HTML attribute HOT 5
- Let Summarizer handle additional response types HOT 7
- Theme switching doesn't work (6.0.4) HOT 2
- Please add missing LICENSE HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from just-read.