mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateData
synced 2024-11-27 17:20:01 +00:00
SECURITY: Fix escaping of description field
Bug: T118682 Change-Id: Ic40d258964d526a66431f18d2d7f0a6ad2eca111
This commit is contained in:
parent
a8ecd7af79
commit
bcd2508da6
|
@ -831,7 +831,7 @@ class TemplateDataBlob {
|
|||
'mw-templatedata-doc-muted' => ( $paramObj->description === null )
|
||||
]
|
||||
],
|
||||
Html::rawElement( 'p', [],
|
||||
Html::element( 'p', [],
|
||||
$paramObj->description !== null ?
|
||||
$paramObj->description :
|
||||
wfMessage( 'templatedata-doc-param-desc-empty' )->inLanguage( $lang )->text()
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "TemplateData",
|
||||
"version": "0.1.1",
|
||||
"version": "0.1.2",
|
||||
"author": [
|
||||
"Timo Tijhof",
|
||||
"Moriel Schottlender",
|
||||
|
|
Loading…
Reference in a new issue