Basically on the bookmark page it combines all the text into a large paragaph (but the activityPub post is still properly creating the newlines)
I think the issue is here:
|
htmlize(text) { |
|
// uh-oh. ohhhh no. |
|
const returnText = escapeHTML(text); |
|
return returnText?.replace('\n', '<br/>'); |
|
}, |
I changed it to
return returnText?.replace(/\n/g, '<br/>');
to replace all newlines with the <br /> and that seems to have fixed it but I haven't looked at escapeHTML (I would think it would parse the newlines properly but I guess not)