From 8b538d8b8dbc16675dfafda33aeaa1cc836944b2 Mon Sep 17 00:00:00 2001 From: Cynthia Lin <15116870+synicalsyntax@users.noreply.github.com> Date: Tue, 16 Jul 2019 10:37:22 +0000 Subject: [PATCH] user settings: Prevent linkifying trailing whitespace in change name button. When user name changes are disabled and the disabled name change info icon shows, trailing whitespace gets linkified because of the link's inline-block property. Use Handlebars whitespace omission syntax to eliminate this behavior. --- static/templates/settings/account_settings.hbs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/static/templates/settings/account_settings.hbs b/static/templates/settings/account_settings.hbs index 378ffb043d..77e763c177 100644 --- a/static/templates/settings/account_settings.hbs +++ b/static/templates/settings/account_settings.hbs @@ -53,8 +53,10 @@ {{#unless page_params.is_admin}}{{#if page_params.realm_name_changes_disabled}}{{else}}{{#unless page_params.server_name_changes_disabled}}href="#change_email"{{/unless}}{{/if}}{{/unless}}>