Skip to content

Bug with automatic type selection for html #16

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

Merged
merged 1 commit into from
Mar 31, 2012
Merged

Conversation

dslh
Copy link
Contributor

@dslh dslh commented Feb 23, 2012

Hi!

This is a pretty minor bug. I found that if I executed the code CodeRay.scan_file('example.html').div I would receive the warning CodeRay::Scanners could not load plugin :page, falling back to :text. Then of course no highlighting has been applied to the output. The fix I found is not complicated.

Thanks,
Doug

@ghost ghost assigned korny Mar 31, 2012
korny added a commit that referenced this pull request Mar 31, 2012
@korny korny merged commit 9ead892 into rubychan:master Mar 31, 2012
@korny
Copy link
Member

korny commented Mar 31, 2012

I don't really know how this could have slipped through. There is a :page encoder, but there has never been a :page scanner.

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants