Skip to content
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

remove unnecessary quotes that aren't allowed in page title strings #13348

Merged
merged 1 commit into from Feb 24, 2017

Conversation

tanyaparker
Copy link
Contributor

Copy link
Contributor

@ashercodeorg ashercodeorg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@@ -246,7 +246,7 @@ bg:
signup_submit_error_message: "Възникнала е грешка. Моля проверете дали всички задължителни полета са попълнени правилно."
signup_thank_you_header: "Благодаря ви, че регистрирахте събитие за Hour of Code."
signup_thank_you_message: 'Ние ще ви изпратим имейл за потвърждение с информация, която да ви помогне да започнете.'
map_title: "\"Часът на кода\" карта"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way to prevent this from recurring?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's hacky but we could do something like this for every page title?

title: "<%= hoc_s(:map_title).gsub(/"/,"\\\"") %>"

@tanyaparker tanyaparker merged commit b3da682 into staging Feb 24, 2017
@tanyaparker tanyaparker deleted the fix-hb-31438380 branch February 24, 2017 01:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants