Description
The html validation of this line goes right but it looks a bit curious if you do have a look in the html source of ReimarBauer/Example1 you do see
<span class="anchor" id="line-1"></span><div><table><tbody><tr> <td><p class="line862" />1</td>
a bit more in detail what is the reason for this / at the end.
<p class="line862" />
Probably no bug -- ReimarBauer 2006-04-15 07:16:15
Steps to reproduce
- do this...
Example
Details
MoinMoin Version |
|
OS and Version |
|
Python Version |
|
Server Setup |
|
Server Details |
|
Workaround
Discussion
This is not a bug, just a self-closing xhtml-like p tag. html4 software just ignores this slash.
IBTD, this slash is unnecessary, because, as you said, is looks like a self-closing tag. This is needed only with "empty" elements, such as <br />, <hr />, and so on, but not with container elements, such as <p>Text.</p>, <h1>Heading.</h1>, and so on. As you see, <br /> is just a shorthand for <br></br>, whereas empty containers ("<p></p>") should not exist. -- MartinBayer 2006-04-15 10:01:57
Plan
- Priority:
- Assigned to:
- Status: