Modify

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#13366 closed defect (fixed)

usemap should start with '#'

Reported by: dries.decock@… Owned by: dries.decock@…
Priority: normal Component: PlantUmlMacro
Severity: normal Keywords:
Cc: Álvaro Iradier Trac Release: 1.2

Description (last modified by Ryan J Ollos)

Hi,

when using an imagemap, the current 2.2 release didn't work on firefox nor Microsoft Edge. The reason for this is that the generated HTML code uses the wrong usemap. A usemap should start with a '#'.

How to fix this:

replace line 137 with:

return Markup(cmap) + tag.img(src=img_link, usemap='#' + img_id + '_map')

Attachments (0)

Change History (3)

comment:1 Changed 6 years ago by Ryan J Ollos

Description: modified (diff)
Owner: changed from Álvaro Iradier to Ryan J Ollos
Status: newaccepted

comment:2 Changed 6 years ago by Ryan J Ollos

Resolution: fixed
Status: acceptedclosed

In 17025:

TracPlantUml 2.3dev: Fix usemap attribute not prefixed with #

Patch by dries.decock@...

Fixes #13366.

comment:3 Changed 6 years ago by Ryan J Ollos

Owner: changed from Ryan J Ollos to dries.decock@…

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain dries.decock@….
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.