Skip to content

fix: escape inline subscripts on BHH constant page#108

Merged
teorth merged 1 commit into
teorth:mainfrom
Chessing234:fix/12a-latex-underscore
Jun 24, 2026
Merged

fix: escape inline subscripts on BHH constant page#108
teorth merged 1 commit into
teorth:mainfrom
Chessing234:fix/12a-latex-underscore

Conversation

@Chessing234

@Chessing234 Chessing234 commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes broken LaTeX rendering on constants/12a.html (issue #8).

Root cause

The description line uses inline math $C_{12}$, $L_{n}$, and $\beta_{2}$. Kramdown treats _ as Markdown emphasis, so multiple subscripts on one line corrupt the math before MathJax runs.

Fix

Escape the subscript underscores (\_), matching #96#107.

Fixes #8

Issue teorth#8: Kramdown treats unescaped _ in $C_{12}$, $L_{n}$, and $\beta_{2}$ as emphasis markers, breaking MathJax on constants/12a.html.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Latex breaks from underscores.

2 participants