Describe the bug
Storing content in a field that contains quotes results in only the content before the first quote is in the title. The rest of the content is stored in the tag as individual attributes.
We noticed this when the word hidden was stored after a quote, which resulted in the cell being hidden and the rest of the row shifting to the left.
Reproduction steps
- For a given record with a StringLike field:
- Put the content
Example "text" hidden in the field.
- View the index page that contains this model/field.
Expected behavior
- The content should show (with ellipsis if necessary based on space), and the title should represent the whole field escaping quotes with
"
Additional context
rails version: 7.1.3
rails_admin version: 3.0.0.beta2
Describe the bug
Storing content in a field that contains quotes results in only the content before the first quote is in the title. The rest of the content is stored in the tag as individual attributes.
We noticed this when the word
hiddenwas stored after a quote, which resulted in the cell being hidden and the rest of the row shifting to the left.Reproduction steps
Example "text" hiddenin the field.Expected behavior
"Additional context
railsversion: 7.1.3rails_adminversion: 3.0.0.beta2