Opened 6 years ago

Last modified 6 years ago

#13366 closed defect

usemap should start with '#' — at Version 1

Reported by: dries.decock@… Owned by: Ryan J Ollos
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')

Change History (1)

comment:1 Changed 6 years ago by Ryan J Ollos

Description: modified (diff)
Owner: changed from Álvaro Iradier to Ryan J Ollos
Status: newaccepted
Note: See TracTickets for help on using tickets.