Any news on fixes??

Dec 1, 2011 at 4:01 PM

Hi... I just download the source and successfully recompiled to run on x64 - which works fine.  I previewed CSS and SQL files, only to find that the text 'CSS' and 'SQL' appeared!

I delved into the code and found that in HighlightHelpers.cs, the line;

var sourceHtml = highlighter.Highlight(source, definition);

should have been...

var sourceHtml = highlighter.Highlight(definition, source);

Has someone been playing around with the source code?!?! I find it very suspect.

May 1, 2012 at 6:10 AM

I think Thomas might have been changing the highlight API, and the source on our side hasn't kept up. Feel free to submit a pull request or fork it into your own project.

May 1, 2012 at 6:14 AM

I just noticed that somebody else has already fixed this and sent a pull request. I've accepted it now.

May 18, 2012 at 3:45 PM

Thanks for accepting. Is there any need to keep my fork around? If not i'll just delete it. It's a bit of an overkill for such a small change. ;-)