mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Also add noreferrer
This commit is contained in:
parent
5197f278e8
commit
7611f708f5
@ -211,7 +211,7 @@ class Container(ContainerBase):
|
||||
a.set('data-' + link_uid, json.dumps({'name':parts[0], 'frag':parts[1]}, ensure_ascii=False))
|
||||
else:
|
||||
a.set('target', '_blank')
|
||||
a.set('rel', 'noopener')
|
||||
a.set('rel', 'noopener noreferrer')
|
||||
changed.add(name)
|
||||
elif mt == 'image/svg+xml':
|
||||
self.virtualized_names.add(name)
|
||||
|
Loading…
x
Reference in New Issue
Block a user