diff options
Diffstat (limited to 'imagemap.py')
| -rw-r--r-- | imagemap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/imagemap.py b/imagemap.py index 00b5f64..a40116f 100644 --- a/imagemap.py +++ b/imagemap.py @@ -33,7 +33,7 @@ SHAPE_MARKUP = { +(f' alt={quotedval(alt)}' if alt is not None else '')+"/>\n", 'mod_imagemap': lambda shape, coords, href, alt: f"{shape} {href if href is not None else 'nocontent'} {' '.join(f'{i[0]},{i[1]}' for i in coords)}" - +(f" \"{alt.translate({34:'"'})}\"" if alt is not None else '')+'\n' + +(' "'+alt.translate({34:"''"})+'"' if alt is not None else '')+'\n' # no way to get quotation mark in text in httpd } # if we ever implement `circ` we gotta handle it specially CSS_LINK_INDEX='-computer-viatrix-inx-imagemap-linkindex' |
