Skip to content

v0.2.3

Choose a tag to compare

@github-actions github-actions released this 24 Nov 13:43
· 17 commits to main since this release
235bfe1

Added

  • Demo video of Markdown Lens in action at the top of the README.
  • README: a Download section for the release .zip (Chromium) and .xpi (Firefox, LibreWolf) packages.
  • README: install steps for Firefox and LibreWolf, including the site access permission and opening local file:// Markdown files.
  • The GitHub release workflow can be run by hand for an existing tag; running it again replaces the attached packages.

Changed

  • README uses this repository's tests/manual-test.md as the example file.
  • The manual test page also checks that flowchart links and form controls are neutralized.

Fixed

  • A malformed % escape in the file name or #anchor no longer stops the rendering halfway.

Removed

  • Tags and release pages for 0.1.0, 0.2.0 and 0.2.1; 0.2.2 is the earliest release you can download.

Security

  • Fix script injection through flowchart.js diagrams: a node written as text:>javascript:… became a link that ran code in the page when clicked. All diagram output (flowchart.js, sequence diagrams, mermaid) is now sanitized with DOMPurify, which also removes flowchart.js text:$function click handlers.
  • Update DOMPurify from 3.2.6 to 3.5.0, which fixes published sanitizer bypasses (GHSA-v8jm-5vwx-cfxm, GHSA-v2wj-7wpq-c8vv, GHSA-h8r8-wccr-v5f2).
  • Remove form controls (<form>, <button>, <select>, <textarea>, and every <input> except task-list checkboxes) from rendered Markdown, so a document cannot show a working fake login form.
  • Accept mermaid results only from the extension's own renderer frame (checks the message origin as well as its source).