mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-23 00:22:19 +01:00
fix: properly escaping app names (#3368)
## About the changes Network overview was not escaping square brackets from app names and that caused mermaid graph to break. We've also identified problems with quotes and some characters not showing properly when using utf-8 (but still no solution for this). We're going to be testing the utf-8 issue in our sandbox instances.
This commit is contained in:
parent
96da121863
commit
64c41b8c6d
@ -94,7 +94,10 @@ export const NetworkOverview = () => {
|
||||
${apps
|
||||
.map(
|
||||
({ label, reqs, type }, i) =>
|
||||
`app-${i}(${label}) -- ${reqs} req/s<br>${type} --> Unleash`
|
||||
`app-${i}("${label.replaceAll(
|
||||
'"',
|
||||
'"'
|
||||
)}") -- ${reqs} req/s<br>${type} --> Unleash`
|
||||
)
|
||||
.join('\n')}
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user