From cf4e003dea0a62abda9d8aff4247ca178fa36e84 Mon Sep 17 00:00:00 2001 From: Andrea Date: Wed, 8 Jun 2022 09:23:11 +0200 Subject: [PATCH] [pl][blog] fix displaying favicons --- src/parseMarkdown.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parseMarkdown.js b/src/parseMarkdown.js index 6674270d..3ef2517c 100644 --- a/src/parseMarkdown.js +++ b/src/parseMarkdown.js @@ -68,10 +68,10 @@ export default async function parseMarkdown(markdown) { markdown .replace(//g, '
') .replace(/<\/table>/g, '
') - .replace(/{favicon=(.+?)}/g, 'Favicon') .replace(/$1
$2
') .replace(//g, '
') + .replace(/{favicon=(.+?)}/g, 'Favicon') .replace(/{embed=\/\/(.+?)=(.+?)}/g, '
') .replace(/{graph=([^}]+)}/g, '') .replace(/

{census_groups}<\/p>(.+?)

{\/census_groups}<\/p>/gms, mainPlusDetails(census_groups, false))