1.1 --- a/moinformat/serialisers/html/graphviz.py Mon Dec 12 00:38:07 2022 +0100
1.2 +++ b/moinformat/serialisers/html/graphviz.py Tue Dec 13 22:52:52 2022 +0100
1.3 @@ -3,7 +3,7 @@
1.4 """
1.5 Graphviz serialiser, generating content for embedding in HTML documents.
1.6
1.7 -Copyright (C) 2018, 2019 Paul Boddie <paul@boddie.org.uk>
1.8 +Copyright (C) 2018, 2019, 2022 Paul Boddie <paul@boddie.org.uk>
1.9
1.10 This program is free software; you can redistribute it and/or modify it under
1.11 the terms of the GNU General Public License as published by the Free Software
1.12 @@ -135,7 +135,8 @@
1.13 # Make sure that page attachments can be stored.
1.14
1.15 self.output.ensure_attachments(pagename)
1.16 - link = self.linker.translate(LinkTarget("attachment", attachment))
1.17 + link = self.linker.translate(LinkTarget("attachment", attachment,
1.18 + pagename=pagename))
1.19
1.20 # No filename is defined for inline output.
1.21