Skip to content

BUG: Math equations not rendering in search results #344

@mmcky

Description

@mmcky

Description

Math equations are not being rendered properly in search results. They appear as raw LaTeX code instead of formatted equations.

Example

From the lecture "Optimal Savings II: Numerical Cake Eating", the search result shows:

...[ You might like to review the details in Optimal Savings I: Cake Eating before we start. Recall in particular that the Bellman equation is (52.1)\[v(x) = \max_{0\leq c \leq x} \{u(c) + \beta v(x-c)\} \quad \text{for all } x \geq 0.\] wher...

The LaTeX code should be rendered as a proper mathematical equation instead of displaying the raw markup.

Expected Behavior

Math equations in search results should be rendered as formatted mathematical expressions, similar to how they appear in the main content.

Additional Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions