Problem with HTML cards and embedded HTML codes

With the latest version of Ghost there is a problem with embedded HTML codes in a HTML card. I use prism.js as code syntax highlighter.

HTML raw code

<pre><code class="language-cpp">/* C++ */
#include &lt;iostream&#8203;&gt;

int main() {
    std::cout << "Hello World!";
    return 0;
}
</code></pre>

But the HTML source code of the output looks like

!--kg-card-begin: html-->
<pre><code class="language-cpp">/* C++ */
#include <iostream>

int main() {
    std::cout << "Hello World!";
    return 0;
}
</iostream></code></pre>
<!--kg-card-end: html-->

The expanded HTML Codes < > leads to problems . In this case iostream is missing, for other code snippetes rendering problems are the result.

We’re aware of the issue and it’s in our short-term backlog. Thanks for the report.

Can confirm, that this problem is almost fixed with version v5.79.5. Fixed, but you must update the post which is affected by this roblem to get the fix working.