Drop spans@class="linenum" before passing it to the text_only converter