nanohtml icon indicating copy to clipboard operation
nanohtml copied to clipboard

Way to keep whitespaces intact?

Open saschanaz opened this issue 6 years ago • 2 comments

html`<span>1. </span>` always becomes <span>1.</span>. Since whitespaces are relevant in inline context and <pre>, is there a way to insert whitespaces as-is?

saschanaz avatar Oct 22 '19 15:10 saschanaz

Sounds like a bug imo!

goto-bus-stop avatar Oct 24 '19 11:10 goto-bus-stop

any updates on that?

SlavaMelnyk avatar Oct 12 '21 01:10 SlavaMelnyk