Skip to content

Conversation

fbuys
Copy link
Contributor

@fbuys fbuys commented Oct 7, 2025

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.html

QA Notes

  • Edit a puzzle's question text (by adding newlines \n)
  • Ensure all puzzles display as expected (with newlines where they are expected)

PR fixes: #25

@mateusdeap
Copy link
Member

LGTM. Just make sure to solve conflicts before merging

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.html
@JuanVqz JuanVqz merged commit a844fee into main Oct 9, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Newlines not displayed on index/dashboard page
3 participants