remove shys from pagetitle

This commit is contained in:
Alexander Bocken 2023-12-30 12:47:06 +01:00
parent 9fc8571a18
commit 59ee898de3
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8

View File

@ -2,6 +2,6 @@
import {load} from 'cheerio'; import {load} from 'cheerio';
export function stripHtmlTags(input) { export function stripHtmlTags(input) {
const $ = load(input) const $ = load(input.replace(/­/g, ''));
return $.text(); return $.text();
} }