You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should be able to escape back slashes in the title. Since it doesn't, this creates invalid json and breaks the parsing:
Example:
{
"title": "Today I learned: Use %n rather than \n in String.format",
"category": "",
"url": "/blog2/2013/11/27/today-i-learned-use-n-rather-than-n-in-string-format/",
"date": "November 27, 2013"
},
Produces: SyntaxError: JSON.parse: bad control character in string literal
The text was updated successfully, but these errors were encountered:
Thanks for the report. I'm surprised by this bug, because the title does get escaped. Most other characters seem to be correctly escaped, but it looks like a backslash needs to be escaped manually with another backslash (using \\ works fine according to my test). Do you agree this looks like a bug with the escape filter in jekyll/Liquid template, rather than a bug in the theme?
beautiful-jekyll/_includes/search.html
Line 14 in e5ababb
This should be able to escape back slashes in the title. Since it doesn't, this creates invalid json and breaks the parsing:
Example:
Produces: SyntaxError: JSON.parse: bad control character in string literal
The text was updated successfully, but these errors were encountered: