Fixing digest_custom_html to be treated as HTML (was: Overriding digest.html.erb)

I don’t see anything else in the template/methods making using a user variable, so yeah what you’ve done is probably the best way to do it.

But still, these kind of overrides can’t be ‘supported’, and may break at any time. Make sure you have some tests to catch that when it eventually happens.