diff --git a/admin/survey/export/latexclasses/class.LatexSurveyElement.php b/admin/survey/export/latexclasses/class.LatexSurveyElement.php index 0f28b396e..80f0b8a6f 100644 --- a/admin/survey/export/latexclasses/class.LatexSurveyElement.php +++ b/admin/survey/export/latexclasses/class.LatexSurveyElement.php @@ -191,7 +191,8 @@ class LatexSurveyElement{ ######################################### Pridobimo tekst vprasanja - konec #Stevilcenje vprasanj############################################################### - $numberingText = ($this->numbering == 1) ? $spremenljivke['variable'].' - ' : ''; + //$numberingText = ($this->numbering == 1) ? $spremenljivke['variable'].' - ' : ''; + $numberingText = ($this->numbering == 1) ? $this->encodeText($spremenljivke['variable']).' - ' : ''; ######################################### Stevilcenje vprasanj - konec //echo "goli naslov: ".$spremenljivke['naslov']."
"; @@ -508,8 +509,7 @@ class LatexSurveyElement{ } else $row1 = null; - $output .= $row1['variable']; - + $output .= $this->encodeText($row1['variable']); // radio, checkbox, dropdown in multigrid if (($row2['tip'] <= 3 || $row2['tip'] == 6) && ($row['spr_id'] || $row['vre_id'])) { @@ -577,8 +577,8 @@ class LatexSurveyElement{ $output .= ' ('; $output .= ' '.$row_if['label'].' '; $output .= ') '; - } - + } + return $output; }