From db24f55c86c20f78d43db2ca9c8e2a32dbef3053 Mon Sep 17 00:00:00 2001 From: triatic <42704418+triatic@users.noreply.github.com> Date: Fri, 21 Sep 2018 19:19:22 +0100 Subject: [PATCH] [FB2Bridge] Do not strip

and

(#836) Do not strip

and

. Output looks better when they are retained. See attached. --- bridges/FB2Bridge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridges/FB2Bridge.php b/bridges/FB2Bridge.php index 10a66b63..7187c2c6 100644 --- a/bridges/FB2Bridge.php +++ b/bridges/FB2Bridge.php @@ -109,7 +109,7 @@ EOD; } //Remove html nodes, keep only img, links, basic formatting - $content = strip_tags($content, '

'); + $content = strip_tags($content, '

'); //Adapt link hrefs: convert relative links into absolute links and bypass external link redirection $content = preg_replace_callback('/ href=\"([^"]+)\"/i', $unescape_fb_link, $content);