Bug in wptexturize(): wrong quotation mark after closing tag
-
Is it a bug? Should I create a ticket in trac?
The error was observed with German locale (‘de’).
Expected behavior:
echo wptexturize('"Test"'); // \&\#8222;Test\&\#8220; => ?Test“ echo wptexturize('"<a>Test</a>"'); // \&\#8222;<a>Test</a>\&\#8220; => ?Test“ (with hyperlink)
Observed behavior:
echo wptexturize('"Test"'); // \&\#8222;Test\&\#8220; => ?Test“ echo wptexturize('"<a>Test</a>"'); // \&\#8222;<a>Test</a>\&\#8222; => ?Test? (with hyperlink)
The change is in the last line, the last character: After the closing tag the closing double quotation mark is replaced by the wrong character.
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Bug in wptexturize(): wrong quotation mark after closing tag’ is closed to new replies.