I have an org-mode document with inline code formatting (text wrapped in
~). If the code starts with
', when I export to HTML the formatting doesn't get applied, and the
~s are printed literally. The syntax highlighting inside emacs also reflects that the formatting isn't being applied.
For example, this text:
Strict mode is enabled per scope with the ~'use strict';~ declaration at the very top of the scope.
Will be exported as-is, instead of removing the
'use strict;~ and rendering it as pre-formatted text.
Does anyone know how to get the proper formatting even when code formatting starts with a single quote?