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

Wrap problematic translations in quotes #76

Merged
merged 2 commits into from Sep 14, 2017
Merged

Conversation

SofiaMargariti
Copy link
Contributor

@SofiaMargariti SofiaMargariti commented Sep 12, 2017

Github markdown header is parsed as yaml document. Characters :, &, * and - have special meaning in a yaml file so the translations that contain them should be wrapped in double quotes.

Copy link
Contributor

@dbendilas dbendilas left a comment

Choose a reason for hiding this comment

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

@SofiaMargariti what if there is whitespace before the asterisk, ampersand or dash? Shouldn't we enclose the string in quotes in that case as well?

@SofiaMargariti
Copy link
Contributor Author

@dbendilas good catch! yes we should, I will fix that

@SofiaMargariti
Copy link
Contributor Author

@dbendilas it is fixed

@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 95.058% when pulling 540477d on wrap_in_quotes into 6ce81a8 on devel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants