baskerville / plato

Document reader
Other
1.26k stars 105 forks source link

  not displayed as expected #234

Closed thataboy closed 2 years ago

thataboy commented 2 years ago

I'm reading a programming book which is using monospace font and   to indent code, like this

<p class="program">
fm main()
&nbsp;&nbsp;&nbsp;&nbsp;println!("Hello World!");
}
</p>

plato collapses all the   so there is no indentation. (The book actually uses the unicode char 00a0, but I don't think it matters either way.) I created an epub to demonstrate. It passes epubcheck. Kobo's default reader and koreader display as expected.

out2 - Unknown.zip