Handle legacy code blocks without <code>…</code>
#1025
Labels
a-content
Parsing and rendering Zulip HTML content, notably message contents
Milestone
The current
codehilite
HTML wraps text or syntax-highlighted span elements inside<code>…</code>
tags. However, older messages (the latest example found from April 2020 on CZO, so any message before then) don’t include this<code>…</code>
wrapper, which is currently expected:zulip-flutter/lib/model/content.dart
Lines 996 to 998 in 33c365a
Related discussion:
https://chat.zulip.org/#narrow/channel/243-mobile-team/topic/older.20codehilite.20blocks.3B.20html.20without.20.3Ccode.3E.3C.2Fcode.3E/near/1968837
The text was updated successfully, but these errors were encountered: