Fixed mermaid verbatim directives handling

This commit is contained in:
Bartek Kryza
2023-09-10 12:14:11 +02:00
parent 9a6def801c
commit 4a19c8ba23
15 changed files with 178 additions and 21 deletions

View File

@@ -282,7 +282,6 @@ void save_puml(const std::string &path, const std::string &filename,
const std::string &puml)
{
std::filesystem::path p{path};
p /= "puml";
p /= filename;
save_diagram(p, puml);
}
@@ -291,7 +290,6 @@ void save_json(const std::string &path, const std::string &filename,
const nlohmann::json &j)
{
std::filesystem::path p{path};
p /= "json";
p /= filename;
save_diagram(p, j);
}
@@ -300,7 +298,6 @@ void save_mermaid(const std::string &path, const std::string &filename,
const std::string &mmd)
{
std::filesystem::path p{path};
p /= "mermaid";
p /= filename;
save_diagram(p, mmd);
}