PDF plugin display error

Creating and modifying plugins.
Post Reply
NetWhiz
Regular
Posts: 6
Joined: Wed Sep 13, 2006 4:04 pm

PDF plugin display error

Post by NetWhiz »

On my site the line breaks for the content are not correct when viewed in the PDF.

http://www.rileydupont.com

Is this a bug or should I be posting the content differently to make it look more "normal"?

Thanks,
Drew
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: PDF plugin display error

Post by garvinhicking »

Hi!

The PDF format does interpret whitespace linebreaks, which HTML does not interpret. Have a look at your HTML source; there you will see soft line breaks in your text at the places when in PDF the linebreaks are. You need to remove those soft linebreaks in your entries if you don't want them in the PDF.

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
NetWhiz
Regular
Posts: 6
Joined: Wed Sep 13, 2006 4:04 pm

Post by NetWhiz »

Thanks! I had both the NL2BR and WordWrap plugins enabled. After removing the WordWrap plugin, things are looking nice!

On a side question: What use would the WordWrap plugin be? Turning off the NL2BR plugin made the nice, edited entry beome a block of mush. Guess I just need to play with it some more. :)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Hehe, don't ask me about the wordwrap plugin. I couldn'T use it either, but some people wanted that. :)

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply