Author: nico_zeeders
Description:
In Xml.php, function 'tags' calls openElement() next to a hardcoded "</$element>". I think it would be nicer if this is substituted by closeElement($element).
Author: nico_zeeders
Description:
In Xml.php, function 'tags' calls openElement() next to a hardcoded "</$element>". I think it would be nicer if this is substituted by closeElement($element).
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Xml::tags(): use closeElement() instead of hardcoded "</$element>" | mediawiki/core | master | +1 -1 |
Change 186756 had a related patch set uploaded (by Ricordisamoa):
Xml::tags(): use closeElement() instead of hardcoded "</$element>"
Change 186756 abandoned by Krinkle:
Xml::tags(): use closeElement() instead of hardcoded "</$element>"
Reason:
Closing for now. Refer to T39959.
@Ricordisamoa Thanks for writing that patch, but unfortunately I don't think this is a desired change. The existing shortcut was there on purpose.