Skip to content

Commit 7a4130e

Browse files
Findetonedulix
andauthored
🐞 bounded lists with unregular characters in the liste name (#217)
Parent issue: sequentech/meta#4182 --------- Co-authored-by: Eduardo Robles <edu@sequentech.io>
1 parent ba0293a commit 7a4130e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/Models.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,7 @@ case class Question(
861861
url => (url.url == "true" && url.title == "isCategoryList")
862862
}.length > 0
863863
}
864-
.map { answer => answer.text }
864+
.map { answer => answer.text.replace("&amp;", "&").replace("&#43;", "+") }
865865
.toSet
866866
assert(
867867
categoryNames == answerCategoryNames,

0 commit comments

Comments
 (0)