From 6300c03b6201ca7981388a6d3c01486f8a8adba0 Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Sat, 22 Oct 2016 20:05:30 +0200 Subject: Bug 773354 - "name" attribute of image map not urlencoded, not working in Chrome --- src/context.cpp | 2 +- src/htmlgen.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/context.cpp b/src/context.cpp index e13aa69..2d4200e 100644 --- a/src/context.cpp +++ b/src/context.cpp @@ -1989,7 +1989,7 @@ class ClassContext::Private : public DefinitionContext t << "getOutputFileBase(); t << ".png\" usemap=\"#" << convertToId(name) << "_map\" alt=\"\"/>" << endl; - t << "" << endl; + t << "" << endl; d.writeImage(t,g_globals.outputDir, relPathAsString(), m_classDef->getOutputFileBase()); diff --git a/src/htmlgen.cpp b/src/htmlgen.cpp index 24af9fc..5b4519b 100644 --- a/src/htmlgen.cpp +++ b/src/htmlgen.cpp @@ -1359,8 +1359,7 @@ void HtmlGenerator::endClassDiagram(const ClassDiagram &d, t << relPath << fileName << ".png\" usemap=\"#" << convertToId(name); t << "_map\" alt=\"\"/>" << endl; t << " " << endl; d.writeImage(t,dir,relPath,fileName); -- cgit v0.12