mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 03:11:54 +00:00
This mimics the backend logic for adding the data-attribute - to know what Pygments language was used to highlight the code block - in locally echoed messages. New test added checks our logic for canonicalizing pygments alias (for both frontend and backend). Other fixtures and tests amended.