fixed url handling
This commit is contained in:
parent
f3c7a5dba1
commit
6afc69bb3a
3
main.js
3
main.js
@ -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(/"/g, '"');
|
||||
|
Loading…
Reference in New Issue
Block a user