A text box is shown in the JSDuck documentation for mw.widgets.datetime.DateTimeInputWidget. This seems to be because <input> is not escaped in the source.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Escape <input> in DateTimeInputWidget documentation | mediawiki/core | master | +1 -1 |
Event Timeline
Comment Actions
Wondering whether https://phabricator.wikimedia.org/diffusion/MW/browse/master/resources/src/mediawiki.widgets.datetime/DateTimeInputWidget.js needs some escaping / editing. Or if JSDuck welcomes a bug report at https://github.com/senchalabs/jsduck/issues .
Comment Actions
@Aklapper I assume backticks (i.e.`<input>`) will do. Compare the section for simulateLabelClick() and the corresponding source.
Comment Actions
Change 669978 had a related patch set uploaded (by Gerrit Patch Uploader; owner: Nardog):
[mediawiki/core@master] Escape <input> in DateTimeInputWidget documentation
Comment Actions
Change 669978 merged by jenkins-bot:
[mediawiki/core@master] Escape <input> in DateTimeInputWidget documentation