Opened 21 years ago
Closed 21 years ago
#525 closed defect (bug) (fixed)
inserting image map html goes very badly
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | minor | Version: | 1.5 |
| Component: | Administration | Keywords: | |
| Focuses: | Cc: |
Description
any program that spits out image map html does a bad job, that's true. however, wordpress does more harm than good when trying to fix bad code. For an example, see the text file I'm attaching. Basically, wp messes up the html worse, and also deletes some text if there is a paragraph below.
Attachments (1)
Change History (6)
#3
@
21 years ago
Do you happen to have the setting "WordPress should correct invalidly nested XHTML automatically" set? If so, you're likely experiencing bugs related to the tag balancer, reported here:
http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000053
I previously provided a patch in that bug report that you can try.
Note: See
TracTickets for help on using
tickets.
I forgot to mention that this is what I advise my content writing folk:
If you use an image mapper, please (1) close the area tags, and (2) put all of the HTML generated on one line. If you dont do these two things, it can get pretty ugly.