Do not remove quotation marks from frontmatter #5439
Labels
area: extensions/widgets/list
area: extensions/widgets/markdown
area: formats
type: bug
code to address defects in shipped code
Describe the bug
I have a value like this in my frontmatter:
However, after editing the post the quotation marks are removed so, and now it is no longer considered a string in liquid. That means I can no longer just {{ c }}, as this will output
14534534
and not like1,4,5,3,45,34
which it would before removing the quotation marks.To Reproduce
The quotation marks seems to always be removed like here - https://github.com/motionsplan/motionsplan-dk-jekyll/pull/74/files#diff-e2e171531dbff3ff531fa7df1eb53dc5720cd96416379996ffd3e7306bbd73f2L36
Expected behavior
Make it possible to have a comma separated list as a string. Maybe a setting on the individual widget.
Screenshots
Applicable Versions:
CMS configuration
https://github.com/motionsplan/motionsplan-dk-jekyll/blob/master/admin/config.yml
Additional context
The text was updated successfully, but these errors were encountered: