We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48c593e commit e434a86Copy full SHA for e434a86
app/models/Models.scala
@@ -16,6 +16,8 @@
16
**/
17
package models
18
19
+import utils._
20
+import play.api._
21
import utils.Crypto
22
import utils.JsonFormatters._
23
import utils.Validator._
@@ -863,11 +865,10 @@ case class Question(
863
865
}.length > 0
864
866
}
867
.map { answer =>
- answer.copy(
- text = StringEscapeUtils.unescapeHtml4(answer.text)
868
- )
+ StringEscapeUtils.unescapeHtml4(answer.text)
869
870
.toSet
871
+ Logger.warn(s"answerCategoryNames $answerCategoryNames categoryNames $categoryNames")
872
assert(
873
categoryNames == answerCategoryNames,
874
s"there needs to be one isCategoryList answer for each category when enable_checkable_lists is not 'disabled'"
0 commit comments