mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-27 23:50:30 +00:00
Merge "Do not allow raw HTML in talk page overlay header"
This commit is contained in:
commit
30fac0ca85
|
@ -62,7 +62,8 @@ module.exports = function ( mobile ) {
|
|||
return createOverlay( 'TalkSectionOverlay', {
|
||||
id: sectionId,
|
||||
section: new mobile.Section( {
|
||||
line: $headline.html(),
|
||||
// Strip out any HTML from the headline to avoid links in T243650.
|
||||
line: $( '<span>' ).text( $( $headline ).text() )[ 0 ].outerHTML,
|
||||
text: $heading.next().html()
|
||||
} ),
|
||||
// FIXME: Replace this api param with onSaveComplete
|
||||
|
|
Loading…
Reference in a new issue