Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
copy: Style KaTeX annotations to be included in copy HTML.
apoorvapendse353f57e518b8
diff --git a/web/styles/rendered_markdown.css b/web/styles/rendered_markdown.cssindex 63bf6d32add..900f262c71f 100644--- a/web/styles/rendered_markdown.css+++ b/web/styles/rendered_markdown.css@@ -280,6 +280,16 @@overflow: auto hidden;}+ .katex-mathml annotation {+ /* Because annotations are never displayable, browser user-agent+ stylesheets mark them as not displayable, which has the+ side effect of having them not be included in the HTML+ version of copying the content. Override this, so KaTeX can+ be copy/pasted within Zulip. */+ user-select: all;+ display: inline;+ }+.tex-error {color: hsl(0deg 0% 50%);}