fixed url handling

This commit is contained in:
Tomoya Matsuura(MacBookPro) 2024-03-12 01:34:20 +09:00
parent f3c7a5dba1
commit 6afc69bb3a

View File

@ -114,7 +114,8 @@ async function postToBluesky(text, images) {
}
function removeHtmlTags(input) {
return input.replace(/<[^>]*>/g, "");
let res = input.replace("<br />", " ");
return res.replace(/<[^>]*>/g, "");
}
function convertQuote(input) {
return input.replace(/&quot;/g, '"');