From 2d8ad0c05bdc38dbf2c38300f970dfd72f7988f2 Mon Sep 17 00:00:00 2001 From: "Arnaud G. GIBERT" Date: Mon, 7 Oct 2019 18:04:53 +0200 Subject: [PATCH] - Add '"' to special text format, - Minor JSON fix. --- html/lmbrowse.php | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/html/lmbrowse.php b/html/lmbrowse.php index 8a9f295..9161e3f 100644 --- a/html/lmbrowse.php +++ b/html/lmbrowse.php @@ -42,7 +42,7 @@ $time_start = microtime_float(); include "lmbrowse_config.inc"; $lmb_myname="LMBrowse"; -$lmb_tag_tab=explode( " ", "\$Name: lmbrowse-1_6_0-1 $"); +$lmb_tag_tab=explode( " ", "\$Name: lmbrowse-1_6_1-1 $"); $lmb_tag_tab=explode( "-", $lmb_tag_tab[1]); $lmb_myver=strtr( "$lmb_tag_tab[1]-$lmb_tag_tab[2]", "_", "."); @@ -397,6 +397,7 @@ function lmb_xml_text_format( $input_text) { $search_tab = array( "&", + "\"", "\n", "< >", "
", @@ -418,6 +419,7 @@ function lmb_xml_text_format( $input_text) $replace_tab = array( "&", + """, "\n ", "", "\n", @@ -997,31 +999,28 @@ function lmb_news_json_ld( $news_tab) echo " ";