diff --git a/apps/mobile/share/share.js b/apps/mobile/share/share.js index a757d34cb..8b5cc5743 100644 --- a/apps/mobile/share/share.js +++ b/apps/mobile/share/share.js @@ -62,16 +62,15 @@ async function sanitizeHtml(site) { } function makeHtmlFromUrl(url) { - return `${url}`; + return `${url}`; } function makeHtmlFromPlainText(text) { if (!text) return ""; - return `
${text.replace(
- /(?:\r\n|\r|\n)/g,
- "
"
- )}
${text + .replace(/[\n]+/g, "\n") + .replace(/(?:\r\n|\r|\n)/g, "
")}
`; } function getBaseUrl(site) {