From 872e85cd2bea73b4bd7e53c7d11d5fe0686b115e Mon Sep 17 00:00:00 2001 From: Tim Blair Date: Thu, 14 Nov 2024 16:25:55 +0000 Subject: [PATCH] Add tabindex for fallback code view --- lib/govuk_tech_docs/tech_docs_html_renderer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/govuk_tech_docs/tech_docs_html_renderer.rb b/lib/govuk_tech_docs/tech_docs_html_renderer.rb index 37160aa9..f25ca1ed 100644 --- a/lib/govuk_tech_docs/tech_docs_html_renderer.rb +++ b/lib/govuk_tech_docs/tech_docs_html_renderer.rb @@ -123,7 +123,7 @@ def block_diagram(code) if ok && File.exist?(output_path) File.read(output_path) else - "
#{code}
" + %Q{
#{code}
} end end end