module: minor code improvements
module: minor code improvements

Subessware/html-highlighter,Subessware/html-highlighter,dossier/html-highlighter,dossier/html-highlighter,Subessware/html-highlighter,dossier/html-highlighter