Template talk:Inline-code

Latest comment: 1 month ago by ABreault (WMF) in topic Empty id="" attribute

Empty id="" attribute

edit

@ABreault (WMF): Re Special:Diff/6772228, this seems like a bug in Extension:SyntaxHighlight in that it shouldn't be outputting empty id attributes. (Or really, should Sanitizer::validateAttributes() be protecting against this?) What do you think? Sam Wilson 04:07, 26 September 2024 (UTC)Reply

Hmm, the spec says the value must contain at least one character.
https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1085474 discards the attribute since it's not a valid identifier.
But maybe also empty ids shouldn't be linted as duplicate https://gerrit.wikimedia.org/r/c/mediawiki/services/parsoid/+/1085475 ABreault (WMF) (talk) 20:15, 31 October 2024 (UTC)Reply
Return to "Inline-code" page.