Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

lint: Improve data-tippy-allowHTML error message.

Raghav Luthrafb89c14f344c
diff --git a/tools/linter_lib/custom_check.py b/tools/linter_lib/custom_check.py
index 0ccac372d1c..cf076d81109 100644
--- a/tools/linter_lib/custom_check.py
+++ b/tools/linter_lib/custom_check.py
@@ -738,7 +738,7 @@ html_rules: List["Rule"] = [
},
{
"pattern": r"(?i:data-tippy-allowHTML)",
- "description": "Never use data-tippy-allowHTML; for an HTML tooltip, set data-tooltip-template-id to the id of a <template>.",
+ "description": "Never use data-tippy-allowHTML; for an HTML tooltip, set data-tooltip-template-id to the id of a <template> containing the tooltip content.",
},
]