From b711e106e77ece81693f10329762aae109537295 Mon Sep 17 00:00:00 2001 From: Ivan Tham Date: Sat, 27 Feb 2021 01:49:17 +0800 Subject: [PATCH] Remove possible whitespace in title --- templates/header/topbar_begin.html | 1 - templates/rustdoc/topbar.html | 16 +++++++--------- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/templates/header/topbar_begin.html b/templates/header/topbar_begin.html index 790ee517a..6f0c2f3e0 100644 --- a/templates/header/topbar_begin.html +++ b/templates/header/topbar_begin.html @@ -108,4 +108,3 @@ - diff --git a/templates/rustdoc/topbar.html b/templates/rustdoc/topbar.html index 08d697370..af1ebddf9 100644 --- a/templates/rustdoc/topbar.html +++ b/templates/rustdoc/topbar.html @@ -4,9 +4,9 @@ {%- set crate_url = "/crate/" ~ metadata.name ~ "/" ~ metadata.version -%} {%- include "header/topbar_begin.html" -%}{# - +extra whitespace unremovable, need to use html tags unaffacted by whitespace T_T #} {# Display the features available in current build - #} -
  • + #}
  • {{ "flag" | fas }} Feature flags @@ -245,5 +244,4 @@
  • {% endif %} - {%- include "header/topbar_end.html" -%}