Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output/display error when Pygments isn't present #1

Closed
mattyoho opened this issue Apr 21, 2013 · 1 comment
Closed

Output/display error when Pygments isn't present #1

mattyoho opened this issue Apr 21, 2013 · 1 comment

Comments

@mattyoho
Copy link

If pygments.rb isn't present then the output isn't readable/correct; it appears to be partially rendering the file content into the page as actual markup, triggering JavaScript events, malformed Ajax calls, and the like. You can see in the image below that the top-level <html> tags aren't displaying as part of the escaped layout in the right panel.

I wasn't seeing an interesting backtrace, but the error was consistent on every request. I wound up just adding pygments to get highlighted output. If you'd like help gathering more useful debugging data, let me know and I'll play around without pygments enabled again.

Fwd_ Broken links on GitHub Blog page-2

@dewski
Copy link
Member

dewski commented Jul 20, 2013

Heh, whoops! Issue here was pygments.rb adds the <pre> and it wasn't included in non-pygmentized blocks. 76cdcaf

peek-rblineprof 0.1.2 has been pushed with this fix.

@dewski dewski closed this as completed Jul 20, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants