intercom-rails icon indicating copy to clipboard operation
intercom-rails copied to clipboard

Body tag is antiquated

Open kyleduck opened this issue 7 years ago • 2 comments

Hey guys,

Google and the HTML5 standard now recommend that web developers no longer use the

tag.

See Google's styleguide: https://google.github.io/styleguide/htmlcssguide.html

It would be better if we could customize where the Rails gem inserts intercom's JS, or if it would just insert the code at the bottom of the application layout file.

Cheers!

kyleduck avatar Dec 01 '17 12:12 kyleduck

Do you mean something like the intercom_script_tag helper? e.g., in a layout you could

<%= intercom_script_tag %>

Yes?

stevenharman avatar Dec 22 '17 19:12 stevenharman

That said, it might be nice to totally disable this feature. Perhaps via an ENV Var?

stevenharman avatar Dec 22 '17 19:12 stevenharman