Changeset 93
- Timestamp:
- 03/24/2009 09:37:10 AM (3 years ago)
- File:
-
- 1 edited
-
trunk/WordPress/plugin/transposh/parser.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/WordPress/plugin/transposh/parser.php
r90 r93 569 569 570 570 //Don't break on ` so for our use we don't consider it an entity 571 //e.g. Jack`s apple 572 if(!($entity == "’" || $entity == "'" || $entity == "'")) 571 //e.g. Jack`s apple. 572 //Exception: don't break when we there is a white space after the apostrophe. e.g. `uncategorized` 573 if(($entity == "’" || $entity == "'" || $entity == "'") 574 && $page[$end_pos + 1] != " ") 575 { 576 $is_breaker = FALSE; 577 } 578 else 573 579 { 574 580 $is_breaker = TRUE; 575 581 } 582 576 583 577 584 //It is an html entity.
Note: See TracChangeset
for help on using the changeset viewer.
