Nijz porocilo - v csv-ju pustimo tudi <span> tag-e za zeleno obarvan text
This commit is contained in:
parent
30670e7906
commit
db9e8f50ee
@ -417,7 +417,7 @@ class SurveyNIJZ{
|
|||||||
// Loop po podrocjih in textih
|
// Loop po podrocjih in textih
|
||||||
foreach ($this->vprasanja_report2['priporocila'] as $podrocje => $podrocje_text) {
|
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 = trim($podrocje_text);
|
||||||
$podrocje_text = preg_replace('/\s+/', ' ',$podrocje_text);
|
$podrocje_text = preg_replace('/\s+/', ' ',$podrocje_text);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user