On 05/17/2023 02:45 PM, John MacFarlane wrote:
>> Oh, one more thing, my output is a HTML fragment and I was looking for an option to convert non-ASCII characters to the corresponding HTML entities. I understand that pandoc input is UTF8, as is the output, but an option to instead do the above conversion of the output would be very useful.
>>
> —ascii
>
>
Thank you, I looked at that option but it translates non-ASCII characters into Unicode hex characters which does work but I find HTML entities much more readable. Hope this will be added as an option.
You can post-process with HTML Tidy to control this and other aspects of the appearance of HTML documents.