Files
wekan/packages/markdown
Lauri Ojansivu 1076c08381 Complete InvisibleBleed: every hidden HTML comment is made visible, not only the first.
The fix makes HTML comment markers in rendered card text visible so nothing can
be hidden from readers, but used String.replace with a string pattern, which
replaces only the first occurrence - a second comment stayed hidden, and
DOMPurify then dropped it unseen. Every occurrence is replaced now. The test
applies the real replacement to text with two comments; the negative test fails
on any first-only comment replacement. InvisibleBleed moves from the recorded
gaps to guarded.

Thanks to xet7 !
2026-10-02 11:11:01 +03:00
..
2020-09-05 01:36:43 +03:00
2020-09-05 01:36:43 +03:00

markdown

GitHub flavored markdown parser for Meteor based on marked.js newest version, updated by xet7.

GFM tables and linebreaks are enabled by default.

Usage

Anywhere inside your template add markdown block and write markdown inside.

Example:

{{#markdown}}

...markdown text here...

{{/markdown}}

That's it!

Thanks to:

  • Christopher Jeffrey for marked.js

  • Bozhao Yu for original meteor-markdown package (I just made this package compatible with Meteor 0.9+)

  • Bernhard Millauer - for contributions to this package

  • xet7 for updating to newest GFM package.

License

MIT