Uglifier parsing error when '
found in front matter text
#2756
Unanswered
garogarabed12
asked this question in
Q&A
Replies: 1 comment 7 replies
-
Have you tried putting the whole string inside a quotation like, |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
When configuring the title attribute in the front matter with a text that includes a single quote
'
, for example inannouncement_2.md
:layout: post
title: I'm excited for this announcement
date: 2015-11-07 16:11:00-0400
inline: false
related_posts: false
----
I'm getting an uglifier error of an unexpected token of whatever comes after the
'
, in this case:m excited for this announcement
.I have tried using the known escape characters, writing the title in double quotes, using
|
and>
, but none of these approaches have worked so far. What am I missing here?Thanks.
Beta Was this translation helpful? Give feedback.
All reactions