Skip to content

Commit 939eca3

Browse files
committed
Incorrect label / name in case regeneration of HTML without regeneration of dot files
This is a further regression on #7840. In case we regenerate the HTML files but not the image files based on dot we get incorrect labels for the id / name in the HTML output.
1 parent 01ded6f commit 939eca3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dotgraph.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ void DotGraph::generateCode(FTextStream &t)
239239
t << "<img src=\"" << relImgName() << "\" border=\"0\" usemap=\"#" << correctId(getMapLabel()) << "\" alt=\"" << getImgAltText() << "\"/>";
240240
if (!m_noDivTag) t << "</div>";
241241
t << endl;
242-
if (m_regenerate || !insertMapFile(t, absMapName(), m_relPath, getMapLabel()))
242+
if (m_regenerate || !insertMapFile(t, absMapName(), m_relPath, correctId(getMapLabel())))
243243
{
244244
int mapId = DotManager::instance()->
245245
createFilePatcher(m_fileName.data())->

0 commit comments

Comments
 (0)