Yes, it works by docutils writer.  Generated html are correct. 

problem was only the & character without amp; and gtk pango markup machine.




You can try it ;)




Ondra
--
Ondřej Tůma <mc...@zeropage.cz>
https://ipv6.mcbig.cz https://keybase.io/mcbig twitter: mcbig_cz

---------- Původní e-mail ----------
Od: Paul Wise <p...@debian.org>
Komu: Ondřej Tůma <mc...@zeropage.cz>, 933...@bugs.debian.org
Datum: 6. 8. 2019 3:33:14
Předmět: Bug#933622: formiko: ampersand escaping issues: Error on line 1:
Entity did not end with a semicolon
"Control: tags -1 + fixed-upstream
Control: forwarded -1 https://github.com/ondratu/formiko/commit/64b69b
552439009c8391744e55657642c2e7469a

On Mon, 2019-08-05 at 20:58 +0200, Ondřej Tůma wrote:

> bug is fixed in upstream git, and will be fixed in debian with new
> version.

I'm not sure that the commit linked above is the correct fix, instead
the markdown to HTML converter should be generating correct HTML.

In addition, the ampersand isn't the only character that needs to be
escaped when converting text to HTML:

* " is replaced with &quot;
* & is replaced with &amp;
* < is replaced with &lt;
* > is replaced with &gt;

--
bye,
pabs

https://wiki.debian.org/PaulWise



"

Reply via email to