mirror of
https://github.com/zadam/trilium.git
synced 2025-11-15 09:45:52 +01:00
client: Fix HTML in some toasts
This commit is contained in:
@@ -16,7 +16,7 @@ function toast(options) {
|
|||||||
);
|
);
|
||||||
|
|
||||||
$toast.find('.toast-title').text(options.title);
|
$toast.find('.toast-title').text(options.title);
|
||||||
$toast.find('.toast-body').text(options.message);
|
$toast.find('.toast-body').html(options.message);
|
||||||
|
|
||||||
if (options.id) {
|
if (options.id) {
|
||||||
$toast.attr("id", `toast-${options.id}`);
|
$toast.attr("id", `toast-${options.id}`);
|
||||||
|
|||||||
Reference in New Issue
Block a user