This is important for Part or Scope methods (including the helpers we’ll soon be shipping) that want to determine whether to escape strings captured from template blocks based on whether they are .html_safe?.
It's the primary job of templates to create HTML, so it makes sense for all template-captured blocks to be marked as HTML safe in the first place.
This is important for Part or Scope methods (including the helpers we’ll soon be shipping) that want to determine whether to escape strings captured from template blocks based on whether they are
.html_safe?
.It's the primary job of templates to create HTML, so it makes sense for all template-captured blocks to be marked as HTML safe in the first place.