Add support for line breaks when displaying the service description in the frontend (#1004).

This commit is contained in:
Alex Tselegidis 2021-07-19 16:14:37 +03:00
parent 5a039f2757
commit c885b27f7d
1 changed files with 1 additions and 1 deletions

View File

@ -745,7 +745,7 @@ window.FrontendBook = window.FrontendBook || {};
.appendTo($serviceDescription);
$('<span/>', {
'text': service.description
'html': GeneralFunctions.escapeHtml(service.description).replaceAll('\n', '<br/>')
})
.appendTo($serviceDescription);
}