mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
help-beta: Fix bug of not rendering font-awesome icons correctly.
In `replace_icons`, when replacing zulip icons, the original `markdown_string` was being passed instead of the result from the previous font-awesome icon replacement.
This commit is contained in:
committed by
Tim Abbott
parent
edf6b7389f
commit
0f85d6327d
@@ -136,7 +136,7 @@ def replace_icons(markdown_string: str, import_statement_set: set[str]) -> str:
|
||||
match, "zulip-icon", "ZulipIcons", import_statement_set
|
||||
)
|
||||
|
||||
result = re.sub(zulip_icon_pattern, replace_zulip_icon_with_unplugin_component, markdown_string)
|
||||
result = re.sub(zulip_icon_pattern, replace_zulip_icon_with_unplugin_component, result)
|
||||
|
||||
return result
|
||||
|
||||
|
||||
Reference in New Issue
Block a user