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 <[email protected]> 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 <[email protected] > > 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> >> >> >> > >
_______________________________________________ Mailing list: https://launchpad.net/~zim-wiki Post to : [email protected] Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp

