mirror of https://github.com/YosysHQ/yosys.git
show: escape angle brackets
This commit is contained in:
parent
25954715f0
commit
22c9237716
|
@ -208,7 +208,7 @@ struct ShowWorker
|
||||||
str += "╲";
|
str += "╲";
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (ch == '"')
|
if (ch == '"' || ch == '<' || ch == '>')
|
||||||
str += "\\";
|
str += "\\";
|
||||||
str += ch;
|
str += ch;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue