committed by
qsm-odoo
parent
4431c8c843
commit
1dae7ea1d6
@@ -485,7 +485,12 @@ function prettify_html(html) {
|
||||
level--;
|
||||
}
|
||||
|
||||
result += token.trim().replace(/\s+/, ' ');
|
||||
// don't trim inline content (which could change appearance)
|
||||
if (!inline) {
|
||||
token = token.trim();
|
||||
}
|
||||
|
||||
result += token.replace(/\s+/, ' ');
|
||||
|
||||
if (inline_level > level) {
|
||||
result += '\n';
|
||||
|
||||
Reference in New Issue
Block a user