resolves #987 fallback to text lexer when using pygments for source highlighting