#1431 closed defect (bug) (fixed)
Not all character entities accounted for during ampersand (&) conversion
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 1.5.2 |
| Severity: | normal | Keywords: | regexp entities convert |
| Cc: |
Description
Several preg_replace lines in functions-formatting.php (lines 44, 101 and 348; revision 2622) account for character entities before converting & to &. However, these currently do not consistently recognize all entities using a mix of letters and numbers (such as ¼), nor any which are in all caps (Þ).
I'm attaching a patch which corrects this.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.

Corrects ampersand conversion preg_replace lines to account for certain character entities