Markdown-based table display in comments works in preview but not publish
What happened just before the problem occurred
I entered a table with format:
| Send | Receive | Result |
|---------------|-------------------|------------------|
| Chrome Android | Chrome/Chromeos | success |
| Firefox Android | Chrome/Chromeos | success |
| Chrome/Chromeos | Chrome Android | failed |
| Chrome/Chromeos | Firefox Android | failed |
But it renders as plain text when published (see URL below). We should write a test for this.
Relevant URLs
https://publiclab.org/notes/rmeister/07-18-2016/webjack-test-without-arduino#c14960
This worked in preview but not in rendered markdown. This has been reported before but we're looking forward to making all Markdown drive off the same engine soon, with the Rich Editor/Wiki projects, which should resolve this.
I believe this currently happens in RDiscount in this block: https://github.com/publiclab/plots2/blob/abf4ba8017f94c5efea52ad7c13d35aa68434e0a/app/models/drupal_node_revision.rb#L90-L105
We could use this as a fallback, but by default use javascript to render markdown, using the same generator as the preview, and/or the same as the Rich Editor uses? https://github.com/publiclab/PublicLab.Editor (megamark)
Hi @jywarren I would like to work on this issue. Kindly assign it to me if no one else is working on it.
Go ahead @PritiShaw !