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

Fortitude prevents Rails csrf_meta_tags from being rendered in the <head> element #58

Closed
alechoey opened this issue May 2, 2017 · 1 comment

Comments

@alechoey
Copy link

alechoey commented May 2, 2017

Rails renders the csrf_meta_tags helper as a text element seen here

Fortitude complains with an error

The widget #<_> tried to render an element that is not allowed by element nesting rules: you can't put a <_text> inside a <html>. (See 'http://www.w3.org/TR/html5/semantics.html#the-html-element' for more details.)
@evanwalsh
Copy link

@alechoey Did you ever find a solution for this?

@alechoey alechoey closed this as completed Dec 8, 2021
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