/share page doesn't wrap title in brackets
ref: https://box.neachi.net/notes/9jnyy34gvpahjqlx
This commit is contained in:
parent
980addc1fa
commit
493971480c
@ -65,7 +65,7 @@ const visibleUsers = ref([] as Misskey.entities.User[]);
|
|||||||
|
|
||||||
async function init() {
|
async function init() {
|
||||||
let noteText = "";
|
let noteText = "";
|
||||||
if (title.value) noteText += `[ ${title.value} ]\n`;
|
if (title.value) noteText += `${title.value}\n`;
|
||||||
// Googleニュース対策
|
// Googleニュース対策
|
||||||
if (text?.startsWith(`${title.value}.\n`))
|
if (text?.startsWith(`${title.value}.\n`))
|
||||||
noteText += text.replace(`${title.value}.\n`, "");
|
noteText += text.replace(`${title.value}.\n`, "");
|
||||||
|
Loading…
Reference in New Issue
Block a user