hoo added a comment.

Rather than talking about a <span> element I would phrase the guarantee we give as follows: "Guaranteed to be a single HTML element node, possibly containing text and other HTML nodes." This gives us the freedom to choose whatever element is appropriate per value type. Monolingual strings become <span lang="…">…</span>, but item references become <a href="">.

So if we have a trivial value like a year, that would become <span>2015</span>. But if we have two primitive values here, would it become <span><span>2015</span>, <span>2016</span></span>`?


TASK DETAIL

EMAIL PREFERENCES

To: hoo
Cc: Izno, Aklapper, Lydia_Pintscher, daniel, aude, Lucie, thiemowmde, hoo, D3r1ck01, Wikidata-bugs, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to