More 'Convert HTML Entities' test cases. Fixes #924
This commit is contained in:
		@@ -1104,6 +1104,10 @@
 | 
				
			|||||||
      ],
 | 
					      ],
 | 
				
			||||||
      "tests": [
 | 
					      "tests": [
 | 
				
			||||||
        "assert.strictEqual(convert('Dolce & Gabbana'), 'Dolce & Gabbana', 'should escape characters');",
 | 
					        "assert.strictEqual(convert('Dolce & Gabbana'), 'Dolce & Gabbana', 'should escape characters');",
 | 
				
			||||||
 | 
					        "assert.strictEqual(convert('Hamburgers < Pizza < Tacos'), 'Hamburgers < Pizza < Tacos', 'should escape characters');",
 | 
				
			||||||
 | 
					        "assert.strictEqual(convert('Sixty > twelve'), 'Sixty > twelve', 'should escape characters');",
 | 
				
			||||||
 | 
					        "assert.strictEqual(convert('Stuff in \"quotation marks\"'), 'Stuff in "quotation marks"', 'should escape characters');",
 | 
				
			||||||
 | 
					        "assert.strictEqual(convert(\"Shindler's List\"), 'Shindler's List', 'should escape characters');",
 | 
				
			||||||
        "assert.strictEqual(convert('abc'), 'abc', 'should handle strings with nothing to escape');"
 | 
					        "assert.strictEqual(convert('abc'), 'abc', 'should handle strings with nothing to escape');"
 | 
				
			||||||
      ],
 | 
					      ],
 | 
				
			||||||
      "MDNlinks": [
 | 
					      "MDNlinks": [
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user