mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-02-26 04:25:05 +01:00
Fix replacement
This commit is contained in:
@@ -474,6 +474,6 @@ function getExtensions({
|
||||
|
||||
const placeholderElFromText = (text: string) => {
|
||||
const el = document.createElement('div');
|
||||
el.innerHTML = text.replace('\n', '<br/>');
|
||||
el.innerHTML = text.replaceAll('\n', '<br/>');
|
||||
return el;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user