id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,focuses 46188,esc_html does not have support for multiline output. esc_br_html or line-breaking parameter for esc_html is missing,KestutisIT,,"Let's say that we want to save not a title, but a block of text in the database. So we have to support multiline escaping. Now I have to do this: {{{#!php itemDescription = $printItemDescription; }}} But then the reviewers at Envato and other coding standards fans are not happy that at the template file I use: {{{
}}} While following the concept of of 'escaping at the template' would could be instead 'esc_br_html': {{{
}}} or with `fuction esc_html($text, $escapeLineBreaks = FALSE) {...}` {{{
}}} I just see a lot of confusion and misinterpreation of escaping of text that has multiple lines, and there is NO function. And we should not do explode, implode, array_map things inside the template code, as the template is for designers, and ever CSS developer has to be able easily understand the template, so there so be no explodings, implodings. ",enhancement,new,normal,Awaiting Review,Formatting,5.0.3,normal,,needs-patch,,template