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

Fixed smart quotes when posting a note to blog #1691

Merged
merged 4 commits into from
Mar 16, 2018

Conversation

rayou
Copy link
Contributor

@rayou rayou commented Mar 16, 2018

Hi @lijinglue,

the default smart quote setting of lib/markdown was true and didn't follow global config in ConfigManager. I have modified lib/markdown to use config.preview.smartQuotes value as default.

markdown instance was created at the beginning in NoteList/index.js and never reloads, when user changes Smart Quotes setting, markdown instance in NoteList/index.js won't be updated.

So I changed the markdown init behavior to only initiate when it's needed for Post to Blog feature.

Before:
mar-16-2018 23-19-07

After:
mar-16-2018 23-47-59

@Rokt33r Rokt33r merged commit c21e193 into BoostIO:master Mar 16, 2018
@lijinglue
Copy link
Contributor

Thank you for spotting and fixing this!

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