From dfba188bd6713bdcad57900e0d42b3d67c35c33e Mon Sep 17 00:00:00 2001 From: Kris Date: Thu, 16 Jun 2022 21:09:45 -0400 Subject: [PATCH] UX: remove extra whitespace in github onebox (#17111) --- lib/onebox/templates/githubblob.mustache | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/lib/onebox/templates/githubblob.mustache b/lib/onebox/templates/githubblob.mustache index bfffc2555b7..b76dfd2a337 100644 --- a/lib/onebox/templates/githubblob.mustache +++ b/lib/onebox/templates/githubblob.mustache @@ -39,15 +39,14 @@ }} -
-      
-        
    - {{#lines}} - {{data}} - {{/lines}} -
-
-
+ {{!-- pre and code are intentionally on the same line to control whitespace --}} +

+      
    + {{#lines}} + {{data}} + {{/lines}} +
+
{{/has_lines}} {{/binary}}