Opened 14 years ago
Closed 14 years ago
#18765 closed defect (bug) (fixed)
tag_escape() should not strip digits
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 3.3 | Priority: | normal |
| Severity: | normal | Version: | 3.2.1 |
| Component: | Formatting | Keywords: | has-patch |
| Focuses: | Cc: |
Description
tag_escape() strips digits, but it shouldn't - they are needed for <h1>..<h6> tags. Attached patch fixes this.
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
tag_escape()is only used ingallery_shortcode(), so the bug manifests if someone setsitemtagorcaptiontagattribute to one of the<h1>..<h6>tags. This seems like a rare situation, but still possible.