# HG changeset patch # User RhodeCode Admin # Date 2023-07-26 20:03:38 # Node ID 2c6a98a42d4d7a93099572eecb0c24db25c080bd # Parent 95d30232f261f90f6ac58ccd585adc5538c4a51c ui: fixed default gravatar b64 code diff --git a/rhodecode/lib/helpers.py b/rhodecode/lib/helpers.py --- a/rhodecode/lib/helpers.py +++ b/rhodecode/lib/helpers.py @@ -81,7 +81,7 @@ from rhodecode.lib.html_filters import s from rhodecode.lib.pagination import Page, RepoPage, SqlPage from rhodecode.lib import ext_json from rhodecode.lib.ext_json import json -from rhodecode.lib.str_utils import safe_bytes, convert_special_chars +from rhodecode.lib.str_utils import safe_bytes, convert_special_chars, base64_to_str from rhodecode.lib.utils import repo_name_slug, get_custom_lexer from rhodecode.lib.str_utils import safe_str from rhodecode.lib.utils2 import ( @@ -1304,7 +1304,7 @@ class InitialsGravatar(object): viewBox="-15 -10 439.165 429.164" xml:space="preserve" - font-family="{font_family} + font-family="{font_family}" style="background:{background};" >