Unicode whitespace is stripped from leading and trailing positions in markdown paragraphs
Opened this issue Β· 0 comments
tim-evans commented
Following up on #307, we should handle a longer list of unicode whitespace characters:
Name | Code Point | Entity | Size |
---|---|---|---|
No Break Space | \u00A0 |
|
π π |
En Quad | \u2000 |
  |
πβπ |
Em Quad | \u2001 |
  |
πβπ |
En Space | \u2002 |
  |
πβπ |
Em Space | \u2003 |
  |
πβπ |
Thick Space | \u2004 |
  |
πβπ |
Mid Space | \u2005 |
  |
πβ π |
Six-per-em Space | \u2006 |
  |
πβπ |
Figure Space | \u2007 |
  |
πβπ |
Punctuation Space | \u2008 |
  |
πβπ |
Thin Space | \u2009 |
  |
πβπ |
Hair Space | \u200A |
  |
πβπ |
Zero Width Space | \u200B |
​ |
πβπ |
Narrow No-break Space | \u202F |
  |
πβ―π |
Medium Mathematical Space | \u205F |
  |
πβπ |
Ideographic Space | \u3000 |
  |
π π |
Zero Width No-break Space | \uFEFF |
 |
πο»Ώπ |
I think this is a fairly exhaustive list of spaces, but if any more should be added, please comment π