{"action":"opened","issue":{"url":"https://api.github.com/repos/markdown-it/markdown-it/issues/167","labels_url":"https://api.github.com/repos/markdown-it/markdown-it/issues/167/labels{/name}","comments_url":"https://api.github.com/repos/markdown-it/markdown-it/issues/167/comments","events_url":"https://api.github.com/repos/markdown-it/markdown-it/issues/167/events","html_url":"https://github.com/markdown-it/markdown-it/issues/167","id":116437550,"number":167,"title":"Can't render HTML in code block","user":{"login":"aarondufall","id":1779992,"avatar_url":"https://avatars.githubusercontent.com/u/1779992?v=3","gravatar_id":"","url":"https://api.github.com/users/aarondufall","html_url":"https://github.com/aarondufall","followers_url":"https://api.github.com/users/aarondufall/followers","following_url":"https://api.github.com/users/aarondufall/following{/other_user}","gists_url":"https://api.github.com/users/aarondufall/gists{/gist_id}","starred_url":"https://api.github.com/users/aarondufall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aarondufall/subscriptions","organizations_url":"https://api.github.com/users/aarondufall/orgs","repos_url":"https://api.github.com/users/aarondufall/repos","events_url":"https://api.github.com/users/aarondufall/events{/privacy}","received_events_url":"https://api.github.com/users/aarondufall/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-11T22:44:48Z","updated_at":"2015-11-11T22:44:48Z","closed_at":null,"body":"Rendering HTML or any < or > in code blocks with `html: true ` isn't working. This works fine when I try it out with the demo site though. Maybe I'm missing a setting or require a plugin to do this.\r\n\r\nI'm using version 5.0.1 from the cdn with this tag\r\n\r\n```\r\n<script src=\"https://cdn.jsdelivr.net/markdown-it/5.0.1/markdown-it.min.js\"></script>\r\n```\r\n\r\nWith HTML:\r\n\r\n```javascript\r\nwindow.markdownit({html: true}).render(\"```<h1>Hello World</h1>```\")\r\n\"<p><code>&lt;h1&gt;Hello World&lt;/h1&gt;</code></p>\"\r\n```\r\n\r\nWith < and >:\r\n\r\n```javascript\r\nwindow.markdownit({html: true}).render(\"```1 < 1```\")\r\n\"<p><code>1 &lt; 1</code></p>\"\r\n``` \r\n\r\n\r\n\r\n"}}