kueblc / LDT

Lightweight in browser syntax highlighting
https://kueblc.github.io/LDT/
159 stars 17 forks source link

Tabs don't work in IE #1

Open kueblc opened 12 years ago

kueblc commented 12 years ago

In Internet Explorer 8, the tab character has a non-standard width of 6.5 in the input layer, and a width of 1 in the output layer, causing misalignment.

mgmeyers commented 11 years ago

Replacing tabs with spaces seems to be effective