mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-22 06:32:24 +03:00
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);
|
||||
|
||||
$('<span/>', {
|
||||
'text': service.description
|
||||
'html': GeneralFunctions.escapeHtml(service.description).replaceAll('\n', '<br/>')
|
||||
})
|
||||
.appendTo($serviceDescription);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue