-
Notifications
You must be signed in to change notification settings - Fork 11.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deploy action fails when news title contains apostrophe (') #2876
Comments
That's odd---I've tried adding an apostrophe to the news entry that you modified as well, and that also keeps my page from being built. I've only forked the template repository on 6 November 2024 so I'd say I'm using a fairly recent version... |
Just checked your code and your Looking further into your error here, it is a uglifier error. Uglifier is run only when So I tried to reproduce it locally with |
Fix #2876 Weirdly enough, we already escape the title a few lines above the changed one, but had to escape it again here. Signed-off-by: George Araújo <george.gcac@gmail.com>
Check if this solves for you @IBzerbasteln. |
Works like a charm, thank you so much for solving this so quickly! |
Fix alshedivat#2876 Weirdly enough, we already escape the title a few lines above the changed one, but had to escape it again here. Signed-off-by: George Araújo <george.gcac@gmail.com>
Have you checked that your issue isn't already filed?
Bug description
I've added an inline announcement that contains an apostrophe which prevents the install and build action.
How to reproduce the bug
Error messages and logs
What operating system are you using?
Windows
Where are you seeing the problem on?
Running locally without Docker
More info
Things I've tried
Based on the information from this page, I've tried to replace the
'
with different HTML encodings ('
and'
) and with escape syntax (\'
) but that didn't resolve the issue.The text was updated successfully, but these errors were encountered: