#1431 closed defect (bug) (fixed)
Not all character entities accounted for during ampersand (&) conversion
| Reported by: | Kafkaesqui | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 1.5.2 |
| Severity: | normal | Keywords: | regexp entities convert |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Corrects ampersand conversion preg_replace lines to account for certain character entities