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

Bump Marked to v0.3.3 #1165

Closed
wants to merge 1 commit into from
Closed

Conversation

callahad
Copy link
Contributor

Compressed with uglifyjs lib/marked.js --comments="/Copyright/" --mangle --compress

Used Marked v0.3.3 as of markedjs/marked@2b5802f

Mostly minor bugfixes and refactoring in the Marked changelog, though this revision does have working SmartyPants support (off by default), which makes my life easier in #1163.

It also closes an XSS vulnerability on IE < 10 when sanitize is set to true (it defaults to off)... actually, there are evidently a bunch of bugs in Marked, including other XSS's, as discussed by the NodeBB folks in NodeBB/nodebb-plugin-markdown#20

They ultimately settled on remarkable as a replacement, which is much more actively maintained... and then the two primary authors of Remarkable forked it into markdown-it. Now there's bad blood. So this is all kind of a mess. Markdown-it looks good.

Probably worth updating Marked in the interim, since it's a noninvasive update, then moving to Markdown-it when you/I have time for more extensive testing.

Compressed with `uglifyjs lib/marked.js --comments="/Copyright/" --mangle --compress`

Used Marked v0.3.3 as of markedjs/marked@2b5802f
@callahad
Copy link
Contributor Author

Whoops, opened this against master instead of dev, one sec.

@callahad callahad closed this Mar 16, 2015
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.

1 participant