Skip to content

Commit

Permalink
🐞 bounded lists with unregular characters in the liste name (#217)
Browse files Browse the repository at this point in the history
Parent issue: sequentech/meta#4182

---------

Co-authored-by: Eduardo Robles <[email protected]>
  • Loading branch information
Findeton and edulix authored Dec 14, 2024
1 parent ba0293a commit 7a4130e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/Models.scala
Original file line number Diff line number Diff line change
Expand Up @@ -861,7 +861,7 @@ case class Question(
url => (url.url == "true" && url.title == "isCategoryList")
}.length > 0
}
.map { answer => answer.text }
.map { answer => answer.text.replace("&amp;", "&").replace("&#43;", "+") }
.toSet
assert(
categoryNames == answerCategoryNames,
Expand Down

0 comments on commit 7a4130e

Please sign in to comment.