Closed Bug 7377 Opened 25 years ago Closed 25 years ago

Links containing paragraph tags don't show up as links

Categories

(Core :: DOM: HTML Parser, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED DUPLICATE of bug 6654

People

(Reporter: pavlos, Assigned: rickg)

References

()

Details

This probably an HTML parser bug/feature. It appears on both M5 and M6,
invoked as either "viewer" or "apprunner". I use Debian GNU/Linux, libc6.

If there is a <P> tag between <A HREF=...> and <\A> then the link shows
up as normal text and not as a link.

I do not know if this is valid HTML but it works with Navigator 4.51.
I encountered it in the El Pais website (http://www.elpais.es) which
uses it to mark its headlines as links. With M6 the headlines fail
to show as links (M5 crashes).

To reproduce, view the page. Here is minimal source.

<HTML>
<HEAD>
</HEAD>
<BODY>

<A HREF="foo">   control</A><P>
<A HREF="foo"><P>error  </A><P>

</BODY>
</HTML>
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
*** This bug has been marked as a duplicate of 6654 ***
Status: RESOLVED → VERIFIED
This is in fact terrifically awful HTML. However, it now works in 5.x for
compatibility reasons.
You need to log in before you can comment on or make changes to this bug.