fix(dearrow): remove > from DeArrow titles (#1999)

This commit is contained in:
Ajay Ramachandran 2023-12-06 18:26:08 -05:00 committed by GitHub
parent fd9c675942
commit 6ee50d30f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -60,7 +60,7 @@ async function embedDidMount(this: Component<Props>) {
if (hasTitle) { if (hasTitle) {
embed.dearrow.oldTitle = embed.rawTitle; embed.dearrow.oldTitle = embed.rawTitle;
embed.rawTitle = titles[0].title; embed.rawTitle = titles[0].title.replace(/ >(\S)/g, " $1");
} }
if (hasThumb) { if (hasThumb) {