simov / markdown-viewer

Markdown Viewer / Browser Extension
MIT License
1.08k stars 135 forks source link

Cannot render multiple documents in Firefox #181

Closed WangNianyi2001 closed 1 year ago

WangNianyi2001 commented 2 years ago

Problem Description

After installed on Firefox, when a Markdown document is already opened & rendered with this extension, opening another Markdown document will result in a blank page.

Reproduction

  1. Start a new Firefox window.
  2. Open a random Markdown document A.md in Firefox, and it is rendered as expected.
  3. Open a different random Markdown document B.md, a blank page appears.
  4. If you check the inspector panel, there's nothing but an empty body.
  5. Close A.md and refresh the B.md page, the latter one got rendered.
  6. Open A.md again, and it's a blank page.

Misc Detail

simov commented 1 year ago

I cannot reproduce this on my end. Can you try with latest Markdown Viewer v5.1 there are a lot of fixes and improvements in that release so maybe this got fixed too.

WangNianyi2001 commented 1 year ago

@simov Thanks for replying! Somehow the problem really went away, I don't know how either.