Cockney 'cause. http://mosquito.wordpress.org/view.php?id=1100 Props: bcrow
git-svn-id: https://develop.svn.wordpress.org/trunk@2493 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3ddc18abb9
commit
3213f820c9
@ -16,8 +16,8 @@ function wptexturize($text) {
|
||||
$curl = str_replace('``', '“', $curl);
|
||||
|
||||
// This is a hack, look at this more later. It works pretty well though.
|
||||
$cockney = array("'tain't","'twere","'twas","'tis","'twill","'til","'bout","'nuff","'round");
|
||||
$cockneyreplace = array("’tain’t","’twere","’twas","’tis","’twill","’til","’bout","’nuff","’round");
|
||||
$cockney = array("'tain't","'twere","'twas","'tis","'twill","'til","'bout","'nuff","'round","'cause");
|
||||
$cockneyreplace = array("’tain’t","’twere","’twas","’tis","’twill","’til","’bout","’nuff","’round","’cause");
|
||||
$curl = str_replace($cockney, $cockneyreplace, $curl);
|
||||
|
||||
$curl = preg_replace("/'s/", '’s', $curl);
|
||||
|
Loading…
Reference in New Issue
Block a user