in reply to Re^2: Change default style sheet: add line numbers (code)
in thread Change default style sheet: add line numbers

>  <b><font color="red">&01;</font></b></p>&nbsp;

Hm. .. I ignored that HTML tags could be injected too.

Enclosing line numbers in a span which is hidden by a onselect JS handler could be a solution for unintended selection.

Unfortunately no time for a prove of concept now.

FWIW, the source view in metacpan is pretty neat, no selection of line numbers and syntax highlighting.

Couldn't check yet how highlighting is implemented. ¹

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)

PS: Je suis Charlie!

¹) looks Perltidy'ish