mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-23 15:56:47 +00:00
Merge "Allow striken text in MMV descriptions"
This commit is contained in:
commit
1246e5bd5f
|
@ -221,7 +221,7 @@
|
|||
const $html = HtmlUtils.wrapAndJquerify( html );
|
||||
HtmlUtils.filterInvisible( $html );
|
||||
HtmlUtils.appendWhitespaceToBlockElements( $html );
|
||||
HtmlUtils.whitelistHtml( $html, 'a, span, i, b, sup, sub' );
|
||||
HtmlUtils.whitelistHtml( $html, 'a, span, i, b, sup, sub, s' );
|
||||
cache.textWithTags[ html ] = HtmlUtils.mergeWhitespace( $html.html() );
|
||||
}
|
||||
return cache.textWithTags[ html ];
|
||||
|
|
Loading…
Reference in a new issue