Opened 6 years ago
Last modified 6 years ago
#13366 closed defect
usemap should start with '#' — at Initial Version
Reported by: | Owned by: | Álvaro Iradier | |
---|---|---|---|
Priority: | normal | Component: | PlantUmlMacro |
Severity: | normal | Keywords: | |
Cc: | Álvaro Iradier | Trac Release: | 1.2 |
Description
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')
Note: See
TracTickets for help on using
tickets.