mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-24 15:04:02 +00:00
Merge "(Bug 48941) Normalize whitespace in ext-tag attribute values."
This commit is contained in:
commit
1a606ef147
|
@ -257,11 +257,6 @@ References.prototype.handleReferences = function ( manager, pipelineOpts, refsTo
|
|||
group = Util.tokensToString(group);
|
||||
}
|
||||
|
||||
if ( group ) {
|
||||
// have a String, strip whitespace
|
||||
group = group.replace(/^\s*(.*)\s$/, '$1');
|
||||
}
|
||||
|
||||
// Point invalid / empty groups to null
|
||||
if ( ! group ) {
|
||||
group = null;
|
||||
|
|
Loading…
Reference in a new issue