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
+6
-30
@@ -396,54 +396,30 @@ tags](https://github.com/validator/validator/wiki/Markup-»-Void-elements#traili
|
||||
The trailing slash on void HTML elements has no effect and interacts badly with
|
||||
unquoted attribute values.
|
||||
|
||||
For example, please do **NOT** use:
|
||||
For example, please do **NOT** use markdown like these:
|
||||
|
||||
``` <!---html-->
|
||||
<br/> <=== no thank you
|
||||
```
|
||||
|
||||
Instead use just:
|
||||
|
||||
``` <!---html-->
|
||||
<br>
|
||||
```
|
||||
|
||||
And for example, please do **NOT** use:
|
||||
|
||||
``` <!---html-->
|
||||
<hr/> <=== no thank you
|
||||
```
|
||||
|
||||
Instead use just:
|
||||
|
||||
``` <!---html-->
|
||||
<br>
|
||||
```
|
||||
|
||||
and
|
||||
|
||||
``` <!---html-->
|
||||
<hr>
|
||||
```
|
||||
|
||||
And for example, please do **NOT** use:
|
||||
|
||||
``` <!---html-->
|
||||
<img src="1984-anonymous-tattoo.jpg"
|
||||
alt="image of a tattoo of the 1984 anonymous C code"
|
||||
width=600 height=401 /> <=== no thank you
|
||||
```
|
||||
|
||||
Instead use just:
|
||||
Instead use, respectively:
|
||||
|
||||
``` <!---html-->
|
||||
<br>
|
||||
|
||||
<hr>
|
||||
|
||||
<img src="1984-anonymous-tattoo.jpg"
|
||||
alt="image of a tattoo of the 1984 anonymous C code"
|
||||
width=600 height=401>
|
||||
```
|
||||
|
||||
etc.
|
||||
|
||||
Jump to: [top](#)
|
||||
|
||||
<div id="backslash">
|
||||
|
||||
Reference in new issue
Block a user