Re: patch to allow <div> in <a>
Thomas Dickey <[email protected]>
| Newsgroups | gmane.comp.web.lynx.devel |
|---|---|
| Message-ID | <20191204020407.yxtvj2zhq7xslpe2@prl-debianold-64.jexium-island.net> |
On Tue, Dec 03, 2019 at 08:56:49PM +0900, KIHARA Hideto wrote: > On Fri, 15 Nov 2019 11:55:34 +0000, Ian Collier wrote: > > In HTML prior to 5, <A> elements were not allowed to contain block > > elements such as <DIV>, and Lynx was written to this standard. > > However, in HTML 5, the content model of the <A> tag is "transparent" > > which means it is allowed to contain whatever the parent element may > > contain. > > Attached ad hoc patch allows <a> to contain <div> and <dl> (like <p>). > (<dl> in <a> is used in https://news.yahoo.co.jp/pickup/6343763 ) thanks :-) -- Thomas E. Dickey <[email protected]> https://invisible-island.net ftp://ftp.invisible-island.net _______________________________________________ Lynx-dev mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lynx-dev
signature.asc
(application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQTFIEjAwHSP7iJ9R6JwI1Pg9+SO2wUCXecUFAAKCRBwI1Pg9+SO 2332AJ9eDPz8BxZvzOUu7Ikco3/PGqhnWACfZHcUjDK03BsmjV3+FaDaFD+IzFk= =3bh4 -----END PGP SIGNATURE-----