Closed marcamillion closed 3 years ago
I may be doing something wrong, but the syntax is being highlighted on <code> tags that are not within <pre> tags in my app.
<code>
<pre>
In other words, this works:
<code>std::sort(data, data + arraySize);</code>
But, this doesn't:
<pre class="lang-cpp prettyprint-override"> <code>#include <algorithm> #include <ctime> #include <iostream> int main()</code> </pre>
How do I fix this? Is this an issue you guys are aware of?
Is there a workaround?
Thanks.
Pygments version was updated in #205, please retest.
I may be doing something wrong, but the syntax is being highlighted on
<code>
tags that are not within<pre>
tags in my app.In other words, this works:
<code>std::sort(data, data + arraySize);</code>
But, this doesn't:
<pre class="lang-cpp prettyprint-override"> <code>#include <algorithm> #include <ctime> #include <iostream> int main()</code> </pre>
How do I fix this? Is this an issue you guys are aware of?
Is there a workaround?
Thanks.