Nijz porocilo - v csv-ju pustimo tudi <span> tag-e za zeleno obarvan text

This commit is contained in:
pero1203 2021-11-04 15:22:36 +01:00
parent 30670e7906
commit db9e8f50ee

View File

@ -417,7 +417,7 @@ class SurveyNIJZ{
// Loop po podrocjih in textih
foreach ($this->vprasanja_report2['priporocila'] as $podrocje => $podrocje_text) {
$podrocje_text = strip_tags($podrocje_text, '<br><strong>');
$podrocje_text = strip_tags($podrocje_text, '<br><strong><span>');
$podrocje_text = trim($podrocje_text);
$podrocje_text = preg_replace('/\s+/', ' ',$podrocje_text);