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