I am trying to return this in a predictable HTML way:
'Page Total ' + @total_on_page + tag('br') + 'Total All Pages'.html_safe + @total
But instead, it just parses br/ like plain text. How to return working version of HTML br/ ?
Expected Result:
Page Total $123123 Total All Pages $12312312
Actual output:
Page Total $8,296.42<br />Total All Pages$23,669.73
source share