mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 00:05:50 +01:00
always use template strings instead of string concatenation
This commit is contained in:
@@ -111,7 +111,7 @@ function convertTextToHtml(text) {
|
||||
text = text.replace(/<br>\s*<br>/g, "</p><p>");
|
||||
|
||||
// 4: Wrap in Paragraph Tags
|
||||
text = "<p>" + text + "</p>";
|
||||
text = `<p>${text}</p>`;
|
||||
|
||||
return text;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user