Just ran into an interesting question, is there a templating framework that allows including pure-HTML partials? Like what if your partial does not have any interpolation or logic in it, just HTML? Surely there's a way you could skip "rendering" the partial and just inline the static String. Rails had a `format: [:html]` option, but it's not clear whether that will bypass ERB rendering.

1
Share
Share on Mastodon
Share on Twitter
Share on Facebook
Share on Linkedin
Replies