HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Upgrading Markdown lib
(I'd post this in Development, but I can't, apparently)
Vanilla 2.1.3 and what's in master in GitHub use PHP Markdown 1.0.1n/Extra 1.2.4. It was upgraded 1.0.2/Extra 1.2.8, but then reverted. The latest version is 1.4.1 (the versioning scheme seems to have changed).
My users would like to use certain Markdown features available in 1.4.1, like fenced code blocks. I can upgrade it myself easily enough, but I'm concerned that there was something incompatible with the newer versions. @Linc or someone else, can you tell me why it was downgraded?
Tagged:
1
Comments
There was a discussion last month that prompted this issue to be filed: https://github.com/vanilla/vanilla/issues/2045
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
I guess this was it?
@JasonBarnabe My upgrade undid some customizations we'd made to the current version, and I didn't implement the GitHub-flavored line breaks correctly. My issue notes were:
git log -- library/vendors/markdown
to find our customizationsMy notes for remedying this in the next upgrade attempt were:
If you want to try to accomplish all that, I'd be delighted.
Feel free to start a feature branch & open a pull request, and I'll contribute as I'm able. You don't need to have it complete before opening the pull request; just leave comments to let us know where you are.
@JasonBarnabe Also, added you to the Developer role. Just me not being quick on the draw.
Well, I don't care much about line breaks for poetry, but I may take a stab at upgrading the library while maintaining the current customizations.
See https://github.com/vanilla/vanilla/pull/2138
We merged this one: https://github.com/vanilla/vanilla/pull/2203
And now I've added: https://github.com/vanilla/vanilla/pull/2221