hugo: org-mode pretty entities within words not rendered correctly

What version of Hugo are you using (hugo version)?

$ hugo version
Hugo Static Site Generator v0.80.0/extended linux/amd64 BuildDate: unknown

Does this issue reproduce with the latest release?

Yes this gets reproduced in the latest

$ ~/Downloads/hugo_0.97.3_Linux-64bit/hugo version
hugo v0.97.3-078053a43d746a26aa3d48cf1ec7122ae78a9bb4 linux/amd64 BuildDate=2022-04-18T17:22:19Z VendorInfo=gohugoio

The org-more pretty entities are correctly rendered, but when they are as part of a word (as mentioned in the manual), the {} are displayed as part of the rendered output.

For example

The time is in \micro{}S

Will render as

The time is in µ{}S

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16 (14 by maintainers)

Most upvoted comments

@santoshs

but the in buffer rendering breaks. But I can live with that 😃

/groan

You are polluting your Org source! That workaround will result in incorrect pdf, HTML and other exports too!

But … ¯\_(ツ)_/¯

Re-opening. This is a bug, and needs to be addressed upstream. I’ll take care of that.

@kaushalmodi Only when trying to troubleshoot reported issues.

Also note that there are many discrepancies between these:

For example, with go-org:

\angle --> ∠le

The whole thing needs some love.