uftrace
uftrace copied to clipboard
"<" symbol causes bad output with "uftrace dump --mermaid"
Describe the bug
"<" symbol causes bad output when using the "flowchart": {"htmlLabels": false} mermaid config option.
To Reproduce
// helloWorld.cpp
#include <iostream>
int main()
{
std::cout<<"Hello World";
}
$ g++ -pg helloWorld.cpp
$ uftrace record a.out
$ uftrace dump --mermaid > ./tmp.html
Screenshot
tmp.html |
---|
Proposal
As a temporary measure, setting "htmlLabels": true
- mermaid.js issues: https://github.com/mermaid-js/mermaid/issues/4390
result: "htmlLabels:true " |
---|