https://bugzilla.wikimedia.org/show_bug.cgi?id=56732
--- Comment #3 from ssas...@wikimedia.org --- We currently already do support some form of this. It is only when the a-tag also has attributes that we emit the a-tag. See below [subbu@earth lib] echo "<a href="http://foo.com">bar</a>" | node parse --html2wt [http://foo.com bar] [subbu@earth lib] echo "<a title='foobar' href="http://foo.com">bar</a>" | node parse --html2wt <a title="foobar" href="http://foo.com">bar</a> However, a case can be made to drop attributes as well since we currently do drop them on a-tags with recognized RDFa attributes subbu@earth lib] echo "<a href="http://foo.com">bar</a>" | node parse --html2wt [http://foo.com bar] [subbu@earth lib] echo "<a title='foobar' href="http://foo.com">bar</a>" | node parse --html2wt <a title="foobar" href="http://foo.com">bar</a> So, this is more a matter of getting some clarity around how to handle HTML attributes in a-tags (since they cannot be represented at all in wikitext). Do we consistently drop them in all cases? In that scenario, we can always serialize any a-tag to an extlink as a default. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l