discourse/test/javascripts/mdtest/fixtures/Code Spans.xhtml

13 lines
422 B
HTML
Raw Normal View History

2013-09-12 03:52:37 +08:00
<!--
Changed for Discourse:
- Our HTML sanitizer escapes quotes " as &quot;
- Our sanitizer has not whitelisted attr attributes in `span`s
- Our sanitizer replaces backticks with &#x60;
-->
<p><code>&lt;test a=&quot;</code> content of attribute <code>&quot;&gt;</code></p>
<p>Fix for backticks within HTML tag: <span>like this</span></p>
<p>Here's how you put <code>&#x60;backticks&#x60;</code> in a code span.</p>