From 59ee898de31c532046c2e0876d95782375c18d85 Mon Sep 17 00:00:00 2001 From: Alexander Bocken Date: Sat, 30 Dec 2023 12:47:06 +0100 Subject: [PATCH] remove shys from pagetitle --- src/lib/js/stripHtmlTags.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/js/stripHtmlTags.ts b/src/lib/js/stripHtmlTags.ts index d904246..ee09fb9 100644 --- a/src/lib/js/stripHtmlTags.ts +++ b/src/lib/js/stripHtmlTags.ts @@ -2,6 +2,6 @@ import {load} from 'cheerio'; export function stripHtmlTags(input) { - const $ = load(input) + const $ = load(input.replace(/­/g, '')); return $.text(); }