diff --git a/routes/_components/AccountProfile.html b/routes/_components/AccountProfile.html index 65c87e7e..6b7d5bca 100644 --- a/routes/_components/AccountProfile.html +++ b/routes/_components/AccountProfile.html @@ -31,7 +31,7 @@ {{/if}}
- {{{profile.note}}} + {{{massagedNote}}}
@@ -187,7 +187,15 @@ export default { computed: { - headerIsMissing: (profile) => profile.header.endsWith('missing.png') + headerIsMissing: (profile) => profile.header.endsWith('missing.png'), + note: (profile) => profile.note, + massagedNote: (note) => { + // GNU Social / Pleroma don't add

tags + if (!note.startsWith('

')) { + note = `

${note}

` + } + return note + } }, store: () => store, components: { diff --git a/routes/_components/status/StatusContent.html b/routes/_components/status/StatusContent.html index e545ffc6..94549344 100644 --- a/routes/_components/status/StatusContent.html +++ b/routes/_components/status/StatusContent.html @@ -2,7 +2,7 @@ class="status-content {{isStatusInOwnThread ? 'status-in-own-thread' : ''}} {{isStatusInNotification ? 'status-in-notification' : ''}}" ref:node > - {{{emojifiedContent}}} + {{{massagedContent}}}