From 073fa86514df8b73dee4b888e056784992c20794 Mon Sep 17 00:00:00 2001 From: patrik2020 Date: Wed, 4 Aug 2021 14:24:09 +0200 Subject: [PATCH] Latex za izvoze: IZVOZ-84: Ne deluje PDF izvoz v zavihku Analize - Tabele --- .../export/latexclasses/class.LatexAnalysisElement.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/admin/survey/export/latexclasses/class.LatexAnalysisElement.php b/admin/survey/export/latexclasses/class.LatexAnalysisElement.php index 408a87cc2..364771617 100644 --- a/admin/survey/export/latexclasses/class.LatexAnalysisElement.php +++ b/admin/survey/export/latexclasses/class.LatexAnalysisElement.php @@ -925,6 +925,12 @@ class LatexAnalysisElement{ //$text = str_replace('_','\_ ',$text); $text = str_replace('_','\_',$text); $text = str_replace('~','\textasciitilde{} ',$text); + + //$text = str_replace('<','\textless ',$text); + $text = str_replace('<','\textless',$text); + //$text = str_replace('>','\textgreater ',$text); + $text = str_replace('>','\textgreater',$text); + $text = str_replace(' ',' ',$text); if(strpos($text, '&')){ //ce je prisotno v besedilu &' $text = str_replace('&','\& ',$text); }else{ @@ -941,11 +947,11 @@ class LatexAnalysisElement{ $text = str_replace('&','\&',$text); } - //$text = str_replace('<','\textless ',$text); + /* //$text = str_replace('<','\textless ',$text); $text = str_replace('<','\textless',$text); //$text = str_replace('>','\textgreater ',$text); $text = str_replace('>','\textgreater',$text); - $text = str_replace(' ',' ',$text); + $text = str_replace(' ',' ',$text); */ //ureditev posebnih karakterjev za Latex - konec //ureditev grskih crk