zim-wiki team mailing list archive
-
zim-wiki team
-
Mailing list archive
-
Message #02917
Re: Export to html
PLease make sure you have rev706 when testing.
Maybe I should roll back partly and put the CSS solution in our HTML
templates?
Regards,
Jaap
On Fri, Aug 22, 2014 at 9:54 AM, Paulo van Breugel <p_vanbreugel@xxxxxxxxx>
wrote:
> Hi Jaap,
>
> A blank line in between the two headers is still replaced by a <br>. From
> below I am not sure I understand whether that is the intended behaviour or
> not?
>
>
> <h2>TOC & web links</h2><br><h3>Collaboration</h3>
>
>
> Another option would be to replace empty lines by <p></p>? Html pages
> generated that way resemble more the way the text looks in Zim (tested in
> Firefox and Chrome), which is because these browsers seem to ignore empty
> paragraphs.
>
> Another option is to follow the same rule as for paragraphs. As far as I
> can see, empty line between two paragraphs are not exported. Two empty
> lines between paragraphs are exported as one break. I think that would be
> the best option in terms of how easy it is to regulate the appearance of
> the html page through CSS).
>
>
>
>
>
>
>
> On 21-08-14 12:20, Jaap Karssenberg wrote:
>
> Committed new revision where I changed the whitespace handling in the
> HTML export. Basically removed all "<BR>" elements outside of paragraphs.
> Downside is that some rendering may look different than in the source page
> if you have additional blank lines, but best I can do with the HTML
> assumptions for line spacing.
>
> -- Jaap
>
>
>
> On Wed, Aug 20, 2014 at 7:48 PM, Paulo van Breugel <p_vanbreugel@xxxxxxxxx
> > wrote:
>
>> When exporting to html, the export places a break between two
>> consecutive headers as in the example below. Is there a way to prevent
>> this?
>>
>>
>> ===== TOC & web links =====
>>
>>
>> ==== Collaboration ====
>>
>> * test
>>
>>
>>
>>
>> Becomes:
>>
>> <h2>TOC & web links</h2><br><h3>Collaboration</h3><p><ul><li>test</li></ul></p>
>>
>>
>>
>
>
Follow ups
References
-
Zim version 0.61 released!
From: Jaap Karssenberg, 2014-07-31
-
Re: Zim version 0.61 released!
From: Dmitrij Lisov, 2014-08-01
-
Re: Zim version 0.61 released!
From: Paulo van Breugel, 2014-08-01
-
Re: Zim version 0.61 released!
From: Jaap Karssenberg, 2014-08-01
-
Re: Zim version 0.61 released!
From: Jaap Karssenberg, 2014-08-20
-
Re: Zim version 0.61 released!
From: Paulo van Breugel, 2014-08-20
-
Re: Zim version 0.61 released!
From: Jaap Karssenberg, 2014-08-20
-
Export to html
From: Paulo van Breugel, 2014-08-20
-
Re: Export to html
From: Jaap Karssenberg, 2014-08-21
-
Re: Export to html
From: Paulo van Breugel, 2014-08-22