diff --git a/lib/govuk_tech_docs/tech_docs_html_renderer.rb b/lib/govuk_tech_docs/tech_docs_html_renderer.rb index 1e9bbe52..0b15dc29 100644 --- a/lib/govuk_tech_docs/tech_docs_html_renderer.rb +++ b/lib/govuk_tech_docs/tech_docs_html_renderer.rb @@ -47,7 +47,7 @@ def block_diagram(code) input_path = "#{tmp}/input" output_path = "#{tmp}/output.svg" File.open(input_path, "w") { |f| f.write(code) } - ok = exec_with_timeout("#{mmdc} -i #{input_path} -o #{output_path}", 2) + ok = exec_with_timeout("#{mmdc} -i #{input_path} -o #{output_path} --theme neutral", 2) if ok && File.exist?(output_path) File.read(output_path) else