https://bugzilla.wikimedia.org/show_bug.cgi?id=43361
Web browser: ---
Bug ID: 43361
Summary: Support block element inside link in HTML5
Product: MediaWiki
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Parser
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
Mobile Platform: ---
Wikitext:
[[A|<div style="background:cyan;">aaa</div>]]
Without $wgUseTidy:
<p><a href="/index.php?title=A&action=edit&redlink=1" class=new
title=A(页面不存在)><div style="background:cyan;">aaa</div></a>
</p>
With $wgUseTidy:
<p><a href="/index.php?title=A&action=edit&redlink=1" class="new"
title="A(页面不存在)"></a></p>
<div style="background:cyan;">aaa</div>
However in HTML5, this is valid HTML:
<a href="A"><div style="background:cyan;">aaa</div></a>
(which is invalid in HTML4 however)
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l