I have a small site generated with Hugo which custom layouts & css, i.e. no theme, and everything was working perfectly on my laptop under v0.127.0.
I just migrated to a new PC and now, under v0.143.1, sentences / paragraphs that are immediately adjacent to display math are omitted completely from the generated HTML. If I put an empty line between them and the maths, they do appear. So for example
This sentence will not appear
$$y = mx + c$$
But this one will
Additionally any <div>
s which are directly adjacent to display math or adjacent to paragraphs which themselves are adjacent to display math are omitted.
All the layouts, templates, css, etc is identical between the two cases.
I had a quick look at the recent changelog but could not see anything immediately relevant (but then I’m not 100% sure I’d know what would be relevant).
Could someone help me diagnose & fix the problem please?
Thanks!
Dan