Add support for line breaks when displaying the service description in the frontend (#1004).
This commit is contained in:
parent
5a039f2757
commit
c885b27f7d
1 changed files with 1 additions and 1 deletions
|
@ -745,7 +745,7 @@ window.FrontendBook = window.FrontendBook || {};
|
||||||
.appendTo($serviceDescription);
|
.appendTo($serviceDescription);
|
||||||
|
|
||||||
$('<span/>', {
|
$('<span/>', {
|
||||||
'text': service.description
|
'html': GeneralFunctions.escapeHtml(service.description).replaceAll('\n', '<br/>')
|
||||||
})
|
})
|
||||||
.appendTo($serviceDescription);
|
.appendTo($serviceDescription);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue