Opened 15 years ago
Closed 15 years ago
#18765 closed defect (bug) (fixed)
tag_escape() should not strip digits
| Reported by: | sirzooro | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.3 |
| Component: | Formatting | Version: | 3.2.1 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.