remove shys from pagetitle

This commit is contained in:
2023-12-30 12:47:06 +01:00
parent 6fe881c6fc
commit 40696be73b

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();
} }