tab-numbering
tab-numbering copied to clipboard
fixed small number issue
I just swapped the characters for numbers and put in a space so that it was easier to read.
refs #2
Hi! Late thanks for the PR. I need to point out that due to the hacky natute of the code and normal numbers being not completely unusual as the first cahracter of a <title>
, this change aggravates the known issue "will mess up with titles already starting with the characters ¹...⁸" mentioned in README.
this is the problematic code: whenever tab numbering changes, these lines attempt to remove the old number from the title.
https://github.com/tuomassalo/tab-numbering/blob/d4f3c27d9a81941284ca5e8fca0a511dfd792117/tab-numbering.js#L13-L15
See also: https://github.com/tuomassalo/tab-numbering/commit/64ae5127f939387e3a2dab07042e3afade2f58cc