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

HTML comments are stripped from code blocks #101

Open
pbb72 opened this issue Sep 1, 2020 · 0 comments
Open

HTML comments are stripped from code blocks #101

pbb72 opened this issue Sep 1, 2020 · 0 comments

Comments

@pbb72
Copy link

pbb72 commented Sep 1, 2020

Wiki code:

<source lang="html">
<p>This is some example HTML code</p>
<!-- Here is an HTML comment -->
<div>Some more HTML code</div>
</source>

Mediawiki will output:

<pre class="code2highlight lang-html">&lt;p&gt;This is some example HTML code&lt;/p&gt;
&lt;!-- Here is an HTML comment --&gt;
&lt;div&gt;Some more HTML code&lt;/div&gt;</pre>

Wikicloth outputs:

<pre>&lt;p&gt;This is some example HTML code&lt;/p&gt;

&lt;div&gt;Some more HTML code&lt;/div&gt;</pre>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants