Skip to content

Commit 032a5a5

Browse files
committed
Plantuml cache file name
When having the setting: ``` HTML_OUTPUT = html\v1 ``` and the simple plantuml command: ``` @startuml Bob -> Alice : hello @enduml ``` We get the warning: ``` aa.md:6: error: Could not open file .../html\v1/inline_umlgraph_pnghtml\v1.pu for writing ``` as the backslash was not considered properly
1 parent 9023781 commit 032a5a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/plantuml.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ QCString PlantumlManager::writePlantUMLSource(const QCString &outDirArg,const QC
114114

115115
//printf("content\n====\n%s\n=====\n->\n-----\n%s\n------\n",qPrint(content),qPrint(text));
116116

117-
QCString qcOutDir(outDir);
117+
QCString qcOutDir(substitute(outDir,"\\","/"));
118118
uint32_t pos = qcOutDir.findRev("/");
119119
QCString generateType(qcOutDir.right(qcOutDir.length() - (pos + 1)) );
120120
Debug::print(Debug::Plantuml,0,"*** %s generateType: %s\n","writePlantUMLSource",qPrint(generateType));

0 commit comments

Comments
 (0)