Zim

text is not wrapped in exported html

Bug #311292 reported by Hezy Amiel
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zim
Fix Released
Medium
Jaap Karssenberg

Bug Description

When a zim page is exported to html, the text is not wrapped (long paragraphs take a continues long line).

This can be corrected by removing the "pre" from the css style, but obviously this has other disadvantages.

Tags: html
Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

I switched from using <br> elements to CSS to put control over line ending behavior in the template. Apparently I did not do enough testing with long paragraphs :( Mea culpa.

Solution should be to remove the CSS statement again from the default templates and add a template parameter to control whether <br> elements are used or not.

Changed in zim:
assignee: nobody → pardus-cpan
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
matsch (scopsen) wrote :

I solved this problem by using "white-space: pre-wrap" in my CSS instead of "white-space: pre" which is new in CSS 2.1 and works at least in my Firefox 3+
Funnily it also increases the font size for which I than had to add "font-size: small" as well.

Regards,
matsch

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Reverted to old behavior from before patch 113, now using <br> elements again.

Changed in zim:
status: Triaged → Fix Committed
Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Fixed in 0.28

Changed in zim:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.