| | 360 | |
| | 361 | function test_escaped_quotes_17571() { |
| | 362 | $this->knownWPBug(17571); |
| | 363 | $this->assertEquals('“left half”', wptexturize('\"left half"')); |
| | 364 | $this->assertEquals('“right half”', wptexturize('"right half\"')); |
| | 365 | $this->assertEquals('“both”', wptexturize('\"both\"')); |
| | 366 | $this->assertEquals('“neither”', wptexturize('"neither"')); |
| | 367 | $this->assertEquals('“nested “both” quotes”', wptexturize('\"nested \"both\" quotes\"')); |
| | 368 | $this->assertEquals("‘apostrophes, too’", wptexturize("'apostrophes, too'")); |
| | 369 | $this->assertEquals("‘apostrophes and “escaped” quotes all together’", wptexturize("\'apostrophes and \"escaped\" quotes all together\'")); |
| | 370 | } |