← Back to team overview

zim-wiki team mailing list archive

Re: Different behaviour export using gui and command line

 

Hi Paulo,

Just ran a quick test, but I do not observe the issue you mention. From
code structure I can also not imagine these two can behave different in
this aspect, they use the same functions to do the actual exporting.

Regards,

Jaap



On Fri, Apr 21, 2017 at 5:33 PM Paulo van Breugel <p.vanbreugel@xxxxxxxxx>
wrote:

> Hi Jaap,
>
> When exporting a notebook using the GUI, all special characters in
> verbatim text and text in code blocks are converted, for example:
>
>  > is converted to &gt;
>
> However, when exporting from the command line, special characters like <
> and > are exported to the html page as such, i.e., they are not converted.
>
> The first behaviour is most desirable, as it allows one to have any text
> shown as intended on a html page, such as programming code.
>
> Is there a way to change how this is done on the command line to match
> how it is done when using the GUI?
>
> Best wishes,
>
> Paulo
>
>
>
>
>
>
>
>

Follow ups

References