mirror of https://github.com/zulip/zulip.git
0891f9f65a
This commit adds a boolean field `mentions_topic_wildcard` to the `MessageRenderingResult` dataclass. The field is set to true only if message rendering determines the message has an actual topic wildcard mention in it (and not, e.g., topic wildcard mention syntax inside a code block). The rendered content for topic wildcard mention is '<span class="topic-mention">{wildcard}</span>'. The 'topic-mention' class is the identifier for the wildcard mention being a topic wildcard mention. We don't use 'data-user-id="*"' and "user-mention" class for topic wildcard mentions and eventually plan to remove them for stream wildcard mentions too in a separate mini-project. |
||
---|---|---|
.. | ||
__init__.py | ||
api_arguments_table_generator.py | ||
api_return_values_table_generator.py | ||
fenced_code.py | ||
help_emoticon_translations_table.py | ||
help_relative_links.py | ||
help_settings_links.py | ||
include.py | ||
nested_code_blocks.py | ||
priorities.py | ||
static.py | ||
tabbed_sections.py |