mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-17 07:10:27 +00:00
wptexturize() should handle apostrophes before primes.
Props nacin, miqrogroove. Fixes #22823. git-svn-id: https://develop.svn.wordpress.org/trunk@28725 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -500,16 +500,16 @@ class Tests_Formatting_WPTexturize extends WP_UnitTestCase {
|
||||
"word 99′ word",
|
||||
),
|
||||
array(
|
||||
"word 99'word",
|
||||
"word 99′word",
|
||||
"word 99'word", // Not a prime anymore. Apostrophes get priority.
|
||||
"word 99’word",
|
||||
),
|
||||
array(
|
||||
"word99' word",
|
||||
"word99′ word",
|
||||
),
|
||||
array(
|
||||
"word99'word",
|
||||
"word99′word",
|
||||
"word99'word", // Not a prime anymore.
|
||||
"word99’word",
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user