Re: [fossil-dev] JSON wiki HTML rendering broken

2017-01-24 Thread BohwaZ
Le 25/01/2017 13:17, Joe Mistachkin a écrit : BohwaZ wrote: Hey, the HTML rendering of wiki pages using fossil syntax is currently broken. Can you specify what it's doing incorrectly? FossilWiki-formatted pages were treated as text/plain. So for example links were not transformed

[fossil-dev] JSON wiki HTML rendering broken

2017-01-24 Thread BohwaZ
Hey, the HTML rendering of wiki pages using fossil syntax is currently broken. Here is the change needed to make it work again, it's just a simple line inversion. Thank you :) Index: src/json_wiki.c == --- src/json_wiki.c +++

Re: [fossil-dev] JSON wiki HTML rendering broken

2017-01-25 Thread BohwaZ
Thanks for fixing it in trunk :) -- bohwaz ___ fossil-dev mailing list fossil-dev@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/fossil-dev

[fossil-dev] [PATCH] Markdown support in json view command

2016-09-28 Thread BohwaZ
Hi, Here is a simple patch to add support for Markdown in the JSON API for Fossil wiki (command: fossil json wiki get PAGE --format html), as I needed to fetch Markdown formatted pages as well as Wiki formatted pages. This is against the current trunk. Regards, -- bohwaz Index: src

Re: [fossil-dev] [PATCH] Markdown support in json view command

2016-09-28 Thread BohwaZ
The actual patch, as plaintext: Index: src/json_wiki.c == --- src/json_wiki.c +++ src/json_wiki.c @@ -110,19 +110,27 @@ json_julian_to_timestamp(pWiki->rDate)); if(0 == contentFormat){

Re: [fossil-dev] Time to release version 1.36?

2016-10-16 Thread BohwaZ
Could we also include my fix for markdown in wiki pages for the JSON API? Thanks :) ___ fossil-dev mailing list fossil-dev@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/fossil-dev

Re: [fossil-dev] Time to release version 1.36?

2016-10-16 Thread BohwaZ
Just posted the patch earlier on this list, here it is: Index: src/json_wiki.c == --- src/json_wiki.c +++ src/json_wiki.c @@ -110,19 +110,27 @@ json_julian_to_timestamp(pWiki->rDate)); if(0 ==