Make WordPress Core

Opened 21 years ago

Closed 21 years ago

#525 closed defect (bug) (fixed)

inserting image map html goes very badly

Reported by: trevorturk's profile trevorturk Owned by: matt's profile matt
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)

imgmap.txt (1.6 KB) - added by trevorturk 21 years ago.

Download all attachments as: .zip

Change History (6)

#2 @trevorturk
21 years ago

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 don’t do these two things, it can get pretty ugly.

#3 @coffee2code
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.

#4 @2fargon
21 years ago

  • Patch set to No
  • Severity changed from major to minor

#5 @matt
21 years ago

  • fixed_in_version set to 1.5
  • Owner changed from anonymous to matt
  • Resolution changed from 10 to 20
  • Status changed from new to closed

This should be fixed with the new balance code.

@trevorturk
21 years ago

Note: See TracTickets for help on using tickets.