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

Incompatible with config.action_view.annotate_rendered_view_with_filenames #11

Open
eoinkelly opened this issue Oct 13, 2023 · 0 comments · May be fixed by #12
Open

Incompatible with config.action_view.annotate_rendered_view_with_filenames #11

eoinkelly opened this issue Oct 13, 2023 · 0 comments · May be fixed by #12

Comments

@eoinkelly
Copy link

Rails' config.action_view.annotate_rendered_view_with_filenames causes Rails to emit HTML comments before and after each template including the layout. This means a comment is emitted before the HTML doctype which this gem flags as an error.

config.action_view.annotate_rendered_view_with_filenames is extremely useful in local development so it would neat if this gem could either ignore the leading comment somehow.

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 a pull request may close this issue.

1 participant