mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-11-15 05:02:16 +01:00
Fix replacement
This commit is contained in:
1 parent
606bfb6a83
commit
974ecd511d
1 file changed
+1
-1
@@ -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