Simplify markdown.html
In the case of html void elements (not having the trailing '/') I have merged the 'no thank you' and 'instead use'. At the same time I fixed a typo where one 'no thank you' referred to the wrong 'instead use' (in particular it was '<hr/>' -> '<br>' rather than '<hr/>' -> '<hr>').
This commit is contained in:
1 parent
04fdea9a14
commit
355e2f7d87
2 files changed
+18
-45
No files matched your search
+12
-15
@@ -658,25 +658,22 @@ elements</a>.</p>
|
||||
tags</a>.</p>
|
||||
<p>The trailing slash on void HTML elements has no effect and interacts badly with
|
||||
unquoted attribute values.</p>
|
||||
<p>For example, please do <strong>NOT</strong> use:</p>
|
||||
<pre><code> <br/> <=== no thank you</code></pre>
|
||||
<p>Instead use just:</p>
|
||||
<pre><code> <br></code></pre>
|
||||
<p>And for example, please do <strong>NOT</strong> use:</p>
|
||||
<pre><code> <hr/> <=== no thank you</code></pre>
|
||||
<p>Instead use just:</p>
|
||||
<pre><code> <br></code></pre>
|
||||
<p>and</p>
|
||||
<pre><code> <hr></code></pre>
|
||||
<p>And for example, please do <strong>NOT</strong> use:</p>
|
||||
<pre><code> <img src="1984-anonymous-tattoo.jpg"
|
||||
<p>For example, please do <strong>NOT</strong> use markdown like these:</p>
|
||||
<pre><code> <br/> <=== no thank you
|
||||
|
||||
<hr/> <=== no thank you
|
||||
|
||||
<img src="1984-anonymous-tattoo.jpg"
|
||||
alt="image of a tattoo of the 1984 anonymous C code"
|
||||
width=600 height=401 /> <=== no thank you</code></pre>
|
||||
<p>Instead use just:</p>
|
||||
<pre><code> <img src="1984-anonymous-tattoo.jpg"
|
||||
<p>Instead use, respectively:</p>
|
||||
<pre><code> <br>
|
||||
|
||||
<hr>
|
||||
|
||||
<img src="1984-anonymous-tattoo.jpg"
|
||||
alt="image of a tattoo of the 1984 anonymous C code"
|
||||
width=600 height=401></code></pre>
|
||||
<p>etc.</p>
|
||||
<p>Jump to: <a href="#">top</a></p>
|
||||
<div id="backslash">
|
||||
<div id="br">
|
||||
|
||||
Reference in new issue
Block a user