From: Timo Tijhof Date: Mon, 21 Oct 2013 17:26:44 +0000 (+0200) Subject: jquery.localize: Fix incorrect use of void tag for X-Git-Tag: 1.31.0-rc.0~18447^2 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=0bd19ecfc7ae7be2521873cd72492550df4401ef;p=lhc%2Fweb%2Fwiklou.git jquery.localize: Fix incorrect use of void tag for Follows-up 55dac1f which errounously changed a few to while trying to fix up . Bug: 40598 Change-Id: I987fa288cc1b97a8a5fb367aae2626d7d0b48238 --- diff --git a/tests/qunit/suites/resources/jquery/jquery.localize.test.js b/tests/qunit/suites/resources/jquery/jquery.localize.test.js index d3877e055d..3ef27903ba 100644 --- a/tests/qunit/suites/resources/jquery/jquery.localize.test.js +++ b/tests/qunit/suites/resources/jquery/jquery.localize.test.js @@ -38,7 +38,7 @@ // making sure it is actually using text() and attr() (or something with the same effect) // Text escaping - html = '
'; + html = '
'; $lc = $( html ).localize().find( 'span' ); assert.strictEqual( $lc.text(), mw.msg( 'properfoo' ), 'Content is inserted as text, not as html.' ); @@ -63,7 +63,7 @@ var html, $lc, x, sitename = 'Wikipedia'; // Message key prefix - html = '
'; + html = '
'; $lc = $( html ).localize( { prefix: 'foo-' } ).find( 'span' ); @@ -73,7 +73,7 @@ // Variable keys mapping x = 'bar'; - html = '
'; + html = '
'; $lc = $( html ).localize( { keys: { 'title': 'foo-' + x + '-title', @@ -85,7 +85,7 @@ assert.strictEqual( $lc.text(), 'The Bars', 'Variable keys mapping - text' ); // Passing parameteters to mw.msg - html = '
'; + html = '
'; $lc = $( html ).localize( { params: { 'foo-welcome': [sitename, 'yesterday'] @@ -96,7 +96,7 @@ // Combination of options prefix, params and keys x = 'bazz'; - html = '
'; + html = '
'; $lc = $( html ).localize( { prefix: 'foo-', keys: {