fixed url handling
This commit is contained in:
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, '"');
|
||||||
|
Reference in New Issue
Block a user