Opened 7 years ago

Closed 7 years ago

Last modified 6 years ago

#2634 closed defect (bug) (fixed)

wp_texturize kills some valid entities

Reported by: skeltoac Owned by: ryan
Priority: high Milestone:
Component: Administration Version: 2.0.2
Severity: minor Keywords: has-patch 2nd-opinion
Cc:

Description

Current regex: /&([#])(?[a-z1-4]{1,8};)/

Entities not recognized by this:
THORN
ETH
AElig
OElig
lArr
rArr
uArr
dArr

This expression resolves it: /&([#])(?[a-zA-Z1-4]{1,8};)/

This bug was reported by an Icelandic blogger at http://andrisig.wordpress.com/

Attachments (1)

thorn.diff (474 bytes) - added by skeltoac 7 years ago.

Download all attachments as: .zip

Change History (5)

comment:1   ryan7 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [3686]) texturize fix from that Andy guy. fixes #2634

comment:2   ryan7 years ago

  • Milestone changed from 2.1 to 2.0.3
  • Resolution fixed deleted
  • Status changed from closed to reopened

Reopen for 2.0.3 inclusion.

comment:3   ryan7 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

(In [3747]) texturize fix from that Andy guy. fixes #2634

  • Milestone 2.0.3 deleted

Milestone 2.0.3 deleted

Note: See TracTickets for help on using tickets.