Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documents not rendered if they start with HTML comment #209

Open
EuropeanDeveloper opened this issue Mar 19, 2023 · 5 comments
Open

Documents not rendered if they start with HTML comment #209

EuropeanDeveloper opened this issue Mar 19, 2023 · 5 comments
Labels

Comments

@EuropeanDeveloper
Copy link

Documents are not rendered if they start with HTML comment.

Example:

<!-- HTML comment -->

# Lorem Ipsum

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis
nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Result:

screenshot

Version: Markdown Viewer 5.1
Browser: Mozilla Firefox 111.0

@simov
Copy link
Owner

simov commented Mar 19, 2023

I'm not able to reproduce it on my end. I tried with both compilers and using different option combinations. Not sure what else can be different.

@simov simov added the question label Mar 19, 2023
@EuropeanDeveloper
Copy link
Author

I used the default settings. Still, the HTML_Comment_Test.md file is not rendered.

@simov
Copy link
Owner

simov commented Mar 30, 2023

It works both on file:/// and http://localhost on my end, MV 5.1 and FF 111 on Linux.

@EuropeanDeveloper
Copy link
Author

I've tried it on Windows 11, maybe is it because of that?

@simov
Copy link
Owner

simov commented Mar 30, 2023

That's even more strange, the web rendering part of Firefox should behave the same on all platforms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants