Equations do not render properly in blocks

Hi, equations cannot be rendered inside the “details” tag when using the MathJax engine. Like this

[details="Summary"]
$a \times b = c$
[/details]

Could you take a look at this problem?

2 Likes

It is fixed now :hugs:

Summary

a \times b = c

Yep - this was already fixed quite a while ago :+1:

The MathJax-inside-[details] issue was resolved by

That change has been in place for a long time, which is why Sam’s example now renders correctly.

Looks like this report just hit an instance that hadn’t updated yet - all good now.

Well, the report was written in 2024. There was no fix back then. Why do you assume they haven’t updated since?

Because https://meta.discourse.org/raw/393640 says the report was made this year

It says the post was last updated today (which makes sense. I have added a tag). The date in the raw is updated_at not created_at

Yep, agreed - thanks for confirming.

The confusion comes from /raw/<topic_id> using updated_at in the header, which makes historical reports look “newer” than they are.

I think the real question is whether /raw/<topic_id> should:

  • use created_at instead, or
  • explicitly label it as “updated”, or
  • include both to avoid misinterpretation.

Happy to put together a small PR once there’s agreement on which behaviour is preferred.