Skip to content

Commit

Permalink
Updating mindmap html token
Browse files Browse the repository at this point in the history
  • Loading branch information
jsboige committed Feb 15, 2024
1 parent f668e7b commit c764868
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,7 @@ private static async Task GenerateHtmlSvgWrappers(SVGFreemindMap svgMap, AssetCo
var svgRelativePath = svgSavedFilePath.GetRelativePathFrom(Path.GetDirectoryName(htmlFileName));

htmlTemplate = htmlTemplate.Replace("[SVGPATH]", svgRelativePath);
htmlTemplate = htmlTemplate.Replace("[SVGCONTENT]", await svgContent());
htmlTemplate = htmlTemplate.Replace("<!-- Insert here the SVG -->", await svgContent());

await File.WriteAllTextAsync(htmlFileName, htmlTemplate, Encoding.UTF8);
Logger.LogSuccess($"Html SVG MindMap wrapper {htmlFileName} successfully saved");
Expand Down

0 comments on commit c764868

Please sign in to comment.