U+2005 etc. is (sometimes) stripped from html
See original GitHub issuePrettier 1.19.1 Playground link
# Options (if any):
--single-quote
Input:
<p><span>X</span> or <span>Y</span></p>
<p>X or Y</p>
Output:
<p><span>X</span> or <span>Y</span></p>
<p>X or Y</p>
Expected behavior:
U+2005 should not be turned into a regular space.
From a quick test, this also happens for similar characters in the Unicode General Punctuation block.
Issue Analytics
- State:
- Created 4 years ago
- Comments:14 (8 by maintainers)
Top Results From Across the Web
JavaScript Functions - Google Groups
</html>. This fails in IE, Safari (although, fixed in webkit nightlies) and Chrome. A workaround is, of course, simple: var strip = (function(){...
Read more >Documentation — feedparser 5.0.1 documentation
filename=”basic-existence.html”. Feeds in the real world may be missing elements, even elements that are required by the specification. You should always ...
Read more >KOMMUNIKÁCIÓ, MÉDIA, GAZDASÁG
February 28, 2013, from www.telphoto.com/Rwanda_History.html ... teachers, priests, etc., whereas today “most stories are often told most.
Read more >Package 'pls'
If stripped is TRUE, only the components coefficients, Xmeans, Ymeans and gammas are re- turned. Author(s). Kristian Hovde Liland. References. Indahl, U. (2005) ......
Read more >DAMPNESS AND MOULD - WHO/Europe
study of asthma in the West Bank and Gaza Strip, ... significantly less often than those who lived in council houses or rented...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think I fixed it
minimal reproduction
Found the problem, thank you.