Add data-source to embed code

Ref: https://github.com/stefanbohacek/fediverse-embeds-wordpress-plugin/issues/29
This commit is contained in:
Lim Chee Aun 2024-09-23 20:42:48 +08:00
parent 5d31116354
commit 931af3c193

View file

@ -3061,7 +3061,7 @@ function generateHTMLCode(post, instance, level = 0) {
: ''); : '');
const htmlCode = ` const htmlCode = `
<blockquote lang="${language}" cite="${url}"> <blockquote lang="${language}" cite="${url}" data-source="fediverse">
${ ${
spoilerText spoilerText
? ` ? `