diff --git a/elixir/lib/symphony_elixir/http_server.ex b/elixir/lib/symphony_elixir/http_server.ex index 8e1f8625..585132ae 100644 --- a/elixir/lib/symphony_elixir/http_server.ex +++ b/elixir/lib/symphony_elixir/http_server.ex @@ -411,6 +411,7 @@ defmodule SymphonyElixir.HttpServer do payload = state_payload(orchestrator, snapshot_timeout_ms) title = "Symphony Dashboard" body = Jason.encode!(payload, pretty: true) + escaped_body = escape_html(body) """ @@ -426,12 +427,21 @@ defmodule SymphonyElixir.HttpServer do
#{body}
+ #{escaped_body}