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) {
|
function removeHtmlTags(input) {
|
||||||
return input.replace(/<[^>]*>/g, "");
|
let res = input.replace("<br />", " ");
|
||||||
|
return res.replace(/<[^>]*>/g, "");
|
||||||
}
|
}
|
||||||
function convertQuote(input) {
|
function convertQuote(input) {
|
||||||
return input.replace(/"/g, '"');
|
return input.replace(/"/g, '"');
|
||||||
|
Loading…
Reference in New Issue
Block a user