Commit b31d225
25: Use simple_format to display puzzle questions
Render puzzle question with line breaks
Use Rails' simple_format helper to display puzzle questions with preserved
line breaks in the table view. This improves readability for questions
containing newline characters from the database.
See: https://api.rubyonrails.org/classes/ActionView/Helpers/TextHelper.html1 parent 2101f5a commit b31d225
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
0 commit comments