polacode icon indicating copy to clipboard operation
polacode copied to clipboard

When using tab, minIndent is incorrect and does not remove initial indent correctly.

Open octref opened this issue 7 years ago • 0 comments

When you have a tab displayed as 4 characters, using clipboard to get plain text is is a tab but in html it is 4 nbsps.

Need to count the nbsp instead of code for determining initial indent.

octref avatar Feb 20 '18 04:02 octref