How to export text with straight quotes?

I have a note with $text like this:

`

  1. stuff
`

But it exports as this:

`<ol type=/“a/”>

  • stuff `

    How do I get TBX to just export with the literal characters from the text?

  • Also, I have smartquotes turned OFF

    Enclose your HTML with single quotes: ''. There is a tool on the Discourse edit menu for that: < />

    Thanks, Paul. I fixed it.

    When I export a note with this in the text using the built-in template HTMLPage, I get


    <ol type="a"> <li>stuff </ol>