Fixed syntax hightlighting and math parsing when filtering comments