Do not convert spaces to tabs in verbatim
Bug #1363556 reported by
Sparhawk
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zim |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Observed:
In a verbatim block, zim automatically converts four spaces to a tab character.
Expected:
In a verbatim block, nothing should be converted.
Also, in verbatim blocks, zim displays tabs as eight spaces, which is inconsistent with the four spaces above. I'm not sure how to change this. (I can see the config file allows specification by pixels, but not by fixed-width spaces.)
Related: https:/
which refers to on-the-fly conversion from tab back to spaces, but IMO zim should never convert spaces to tabs in the first place.
zim 0.61
Arch Linux
gtk2 2.24.24-1
pygtk 2.24.0-4
Changed in zim: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
To post a comment you must log in.
I should mention this is only seen in leading spaces.
Also, the discrepancy in source (4 spaces) and display (8 spaces) makes it impossible to line up text in verbatim blocks that need 8n+m leading spaces, for integers 0≤n and 4≤m≤7.