Fixed broken paths to SyntaxHighlighter if rewrite rules are activated, closes #831