Skip to content

Bug: Newlines not displayed on index/dashboard page #25

@fbuys

Description

@fbuys

Expected behavior:

  • Submit a puzzle (that includes new line characters)
  • See puzzle with newlines on index/dashboard (path = /puzzles)

Current behavior:
Newlines are not displayed making it unclear if the newline was removed from the puzzle or not.

Example:

Submitted:

In this snippet:

"Puzzle".at(1) # => "u"
"Puzzle".at(1..2) # => "uz"

Is the at method a Ruby or Rails method?


Displayed as:

In this snippet: "Puzzle".at(1) # => "u" "Puzzle".at(1..2) # => "uz" Is the at method a Ruby or Rails method?


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions