diff --git a/assets/components/actors/actor.vue b/assets/components/actors/actor.vue index 0c86ce85..22bdcdb0 100644 --- a/assets/components/actors/actor.vue +++ b/assets/components/actors/actor.vue @@ -257,13 +257,13 @@ diff --git a/public/img/logos/boobpedia/lazy/boobpedia.png b/public/img/logos/boobpedia/lazy/boobpedia.png new file mode 100644 index 00000000..bca997ba Binary files /dev/null and b/public/img/logos/boobpedia/lazy/boobpedia.png differ diff --git a/public/img/logos/boobpedia/lazy/network.png b/public/img/logos/boobpedia/lazy/network.png index 73bdd019..19fe56e2 100644 Binary files a/public/img/logos/boobpedia/lazy/network.png and b/public/img/logos/boobpedia/lazy/network.png differ diff --git a/public/img/logos/boobpedia/thumbs/boobpedia.png b/public/img/logos/boobpedia/thumbs/boobpedia.png new file mode 100644 index 00000000..f4ac4c7c Binary files /dev/null and b/public/img/logos/boobpedia/thumbs/boobpedia.png differ diff --git a/public/img/logos/boobpedia/thumbs/network.png b/public/img/logos/boobpedia/thumbs/network.png index 4cb98481..ea0fc885 100644 Binary files a/public/img/logos/boobpedia/thumbs/network.png and b/public/img/logos/boobpedia/thumbs/network.png differ diff --git a/src/actors.js b/src/actors.js index 84291c6d..1d9ac36c 100644 --- a/src/actors.js +++ b/src/actors.js @@ -196,7 +196,7 @@ async function curateProfile(profile) { update: profile.update, }; - curatedProfile.description = domPurify.sanitize(profile.description, { ALLOWED_TAGS: [] }).trim() || null; + curatedProfile.description = domPurify.sanitize(profile.description.replace(/\s+/g, ' '), { ALLOWED_TAGS: [] }).trim() || null; const hasher = curatedProfile.description && blake2 .createHash('blake2b')