Skip to content

Commit

Permalink
Fixed issue #15389: Line breaks at question text get lots at "print a…
Browse files Browse the repository at this point in the history
…nswers" overview
  • Loading branch information
dominikvitt committed Oct 10, 2019
1 parent c47a6bd commit 877822e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/controllers/PrintanswersController.php
Expand Up @@ -128,9 +128,9 @@ function actionView($surveyid, $printableexport = false)
// Remove all <script>...</script> content from result.
Yii::import('application.helpers.viewHelper');
foreach ($groupArray as &$group) {
$group['description'] = viewHelper::flatEllipsizeText($group['description'], true, 0);
$group['description'] = viewHelper::purified($group['description']);
foreach ($group['answerArray'] as &$answer) {
$answer['question'] = viewHelper::flatEllipsizeText($answer['question'], true, 0);
$answer['question'] = viewHelper::purified($answer['question']);
}
}

Expand Down

0 comments on commit 877822e

Please sign in to comment.