Amaury / SkrivMarkup

Interpreter of the Skriv Markup Language.
GNU Lesser General Public License v2.1
25 stars 3 forks source link

Bug with ## #3

Open marmotz opened 11 years ago

marmotz commented 11 years ago

I don't know if it's the fault of SkrivMarkup or wikirenderer, but the follwing source does not work properly:

Pour afficher les versions contenues dans l'archive au fur et à mesure des mises à jours, il faut faire appel à l'argument ##--list-available-versions##, ou ##-lav## en version abrégée:

generated:

<p>Pour afficher les versions contenues dans l'archive au fur et à mesure des mises à jours, il faut faire appel à l'argument ##--list-available-versions<tt>, ou </tt>-lav## en version abrégée:</p>

expected:

<p>Pour afficher les versions contenues dans l'archive au fur et à mesure des mises à jours, il faut faire appel à l'argument <tt>--list-available-versions</tt>, ou <tt>-lav</tt> en version abrégée:</p>
marmotz commented 11 years ago

You can test with this file https://github.com/atoum/atoum-documentation/blob/skriv/fr/Contents/chapter1.sml

Amaury commented 11 years ago

It's seems that WikiRenderer has some trouble with the ##-- mark.

This wiki code works: aaa ##bbb## ccc This one doesn't work: aa ##--bbb## ccc

I think it's because of the -- mark, which stands for striking out.

This code works properly: aa ##\--bbb## ccc

Yes, I forgot to mention that the backslash character is used to escape wiki interpretation. Still, it's a bug, I agree. I'll check that.

marmotz commented 11 years ago

Ow, ok ! I don't know how to fix that o_O

With backslash, it's good for me :)