Curly quotes test

Original: Here a "simple test".
Texturized: Here a « simple test ». Here, the quotes are as expected: "«" opens, "»" closes.

Original: Here is "a longer test" that involves more words.
Texturized: Here is « a longer test » that involves more words. GOOD, it works.

Original: Here is "a test with a link".
Texturized: Here is « a test with a link« . NOT GOOD, « is closing.

Original: Here is "a longer test" with a link.
Texturized: Here is « a longer test » with a link. GOOD.

Original: Here is "another test", with a comma.
Texturized: Here is « another test« , with a comma. NOT GOOD, « is closing.

Original: And yet "another test"; with a semicolon.
Texturized: And yet « another test« ; with a semicolon. NOT GOOD, « is closing.

Original: This one "further test"- uses a dash.
Texturized: This one « further test« - uses a dash. NOT GOOD, « is closing.

Original: In this one, the "quoted section is not entirely a link".
Texturized: In this one, the « quoted section is not entirely a link ». GOOD.

Original: And now, the "quoted section ends with a link".
Texturized: And now, the « quoted section ends with a link« . NOT GOOD, « is closing.

Original: Same exact string, with a space between the ending quote and the period: And now, the "quoted section ends with a link" .
Texturized: Same exact string, with a space between the ending quote and the period: And now, the « quoted section ends with a link » . GOOD.

Original: One further test, with "a word stuck to the"ending quote.
Texturized: One further test, with « a word stuck to the« ending quote. NOT GOOD, « is closing.

Original: Ah, there comes another test, with a finishing number, "like 23".
Texturized: Ah, there comes another test, with a finishing number, « like 23″. NOT GOOD, " is closing (?!?).

Original: If there’s a space, "like 62" right here, it also fails.
Texturized: If there’s a space, « like 62″ right here, it also fails. NOT GOOD, ” is closing (?!????).

Original: Let’s test with further stuff, "like ellipses"…
Texturized: Let’s test with further stuff, « like ellipses« … NOT GOOD, « is closing.

Original: Same ellipses, "only with no link"…
Texturized: Same ellipses, « only with no link »… GOOD.

Original: ("no link, everything between parenthesis")
Texturized: (« no link, everything between parenthesis ») GOOD.

Original: ["no link, everything between square brackets"]
Texturized: ["no link, everything between square brackets"] GOOD.

Original: {"no link, everything between curly braces"}
Texturized: {« no link, everything between curly braces »} GOOD.

Original: "no link, no parenthesis or anything"
Texturized: « no link, no parenthesis or anything » GOOD.

One thought on “Curly quotes test”

Laisser un commentaire