Skip to content
  • Prem Sichanugrist's avatar
    920f3ba2
    Introduce `render :html` for render HTML string · 920f3ba2
    Prem Sichanugrist authored
    This is an option for to HTML content with a content type of
    `text/html`. This rendering option calls `ERB::Util.html_escape`
    internally to escape unsafe HTML string, so you will have to mark your
    string as html safe if you have any HTML tag in it.
    
    Please see #12374 for more detail.
    920f3ba2
    Introduce `render :html` for render HTML string
    Prem Sichanugrist authored
    This is an option for to HTML content with a content type of
    `text/html`. This rendering option calls `ERB::Util.html_escape`
    internally to escape unsafe HTML string, so you will have to mark your
    string as html safe if you have any HTML tag in it.
    
    Please see #12374 for more detail.
Loading