Escape multiple spaces in HTML #19665
Labels
bug
Something isn't working
good first issue
Good for newcomers
needs triage
Awaiting prioritization by a maintainer
python
Related to Python Polars
Checks
Reproducible example
Log output
Issue description
Screenshot from Jupyter notebook:
When there are multiple spaces in a row, HTML treats it as a single space. This does not correctly reflect the underlying data, and such spaces should be escaped with
 
instead. This only needs to be done when there are two or more consecutive spaces.Somewhat related: #18102
pandas equivalent: pandas-dev/pandas#59876 (comment)
Expected behavior
HTML should reflect that there are multiple spaces when adjacent.
Installed versions
The text was updated successfully, but these errors were encountered: