Skip Menu |

This queue is for tickets about the Template-Flute-PDF CPAN distribution.

Report information
The Basics
Id: 76122
Status: open
Priority: 0/
Queue: Template-Flute-PDF

People
Owner: racke [...] linuxia.de
Requestors: MARKOV [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.0030
Fixed in: (no value)



Subject: Creation of empty line
A typical way of adding a blank line to HTML is by adding an explicit blank, like this: <div class="hinweis"> <span class="hinweis_text">HINWEIS für Retouren<br /> &nbsp;<br /> line 3</span> </div> However, this gets formatted as two lines, where the blank is glued before "line 3".
On Wed Mar 28 09:13:37 2012, MARKOV wrote: Show quoted text
> A typical way of adding a blank line to HTML is by adding an explicit > blank, like this: > > <div class="hinweis"> > <span class="hinweis_text">HINWEIS für Retouren<br /> > &nbsp;<br /> > line 3</span> > </div> > > However, this gets formatted as two lines, where the blank is glued > before "line 3".
Little correction: every line that starts with a capital has a small indentation as well. It is unclear which HTML and CSS features are supported. For instance, <i> and "font-style: italic" have no effect.
Subject: Re: [rt.cpan.org #76122] Creation of empty line
Date: Thu, 29 Mar 2012 08:06:13 +0200
To: bug-Template-Flute-PDF [...] rt.cpan.org
From: "Stefan Hornburg (Racke)" <racke [...] linuxia.de>
On 03/28/2012 03:13 PM, Mark Overmeer via RT wrote: Show quoted text
> Wed Mar 28 09:13:37 2012: Request 76122 was acted upon. > Transaction: Ticket created by MARKOV > Queue: Template-Flute-PDF > Subject: Creation of empty line > Broken in: 0.0030 > Severity: Important > Owner: Nobody > Requestors: MARKOV@cpan.org > Status: new > Ticket<URL: https://rt.cpan.org/Ticket/Display.html?id=76122> > > > A typical way of adding a blank line to HTML is by adding an explicit > blank, like this: > > <div class="hinweis"> > <span class="hinweis_text">HINWEIS für Retouren<br /> > &nbsp;<br /> > line 3</span> > </div> > > However, this gets formatted as two lines, where the blank is glued > before "line 3". >
For me, the &nbsp; is turned into a funny character (big A with ^ on top). This is certainly a bug I need to look into. Regards Racke -- LinuXia Systems => http://www.linuxia.de/ Expert Interchange Consulting and System Administration ICDEVGROUP => http://www.icdevgroup.org/ Interchange Development Team
Subject: Re: [rt.cpan.org #76122] Creation of empty line
Date: Thu, 29 Mar 2012 08:09:14 +0200
To: bug-Template-Flute-PDF [...] rt.cpan.org
From: "Stefan Hornburg (Racke)" <racke [...] linuxia.de>
On 03/28/2012 04:04 PM, Mark Overmeer via RT wrote: Show quoted text
> Queue: Template-Flute-PDF > Ticket<URL: https://rt.cpan.org/Ticket/Display.html?id=76122> > > On Wed Mar 28 09:13:37 2012, MARKOV wrote:
>> A typical way of adding a blank line to HTML is by adding an explicit >> blank, like this: >> >> <div class="hinweis"> >> <span class="hinweis_text">HINWEIS für Retouren<br /> >> &nbsp;<br /> >> line 3</span> >> </div> >> >> However, this gets formatted as two lines, where the blank is glued >> before "line 3".
> > Little correction: every line that starts with a capital has a small > indentation as well. > > It is unclear which HTML and CSS features are supported. For instance, > <i> and "font-style: italic" have no effect. > >
OK, I'll see that this get listed in the POD. Might take a while though. Regards Racke -- LinuXia Systems => http://www.linuxia.de/ Expert Interchange Consulting and System Administration ICDEVGROUP => http://www.icdevgroup.org/ Interchange Development Team
Subject: Re: [rt.cpan.org #76122] Creation of empty line
Date: Thu, 29 Mar 2012 08:12:42 +0200
To: bug-Template-Flute-PDF [...] rt.cpan.org
From: "Stefan Hornburg (Racke)" <racke [...] linuxia.de>
On 03/29/2012 08:06 AM, Stefan Hornburg (Racke) wrote: Show quoted text
> On 03/28/2012 03:13 PM, Mark Overmeer via RT wrote:
>> Wed Mar 28 09:13:37 2012: Request 76122 was acted upon. >> Transaction: Ticket created by MARKOV >> Queue: Template-Flute-PDF >> Subject: Creation of empty line >> Broken in: 0.0030 >> Severity: Important >> Owner: Nobody >> Requestors: MARKOV@cpan.org >> Status: new >> Ticket<URL: https://rt.cpan.org/Ticket/Display.html?id=76122> >> >> >> A typical way of adding a blank line to HTML is by adding an explicit >> blank, like this: >> >> <div class="hinweis"> >> <span class="hinweis_text">HINWEIS für Retouren<br /> >> &nbsp;<br /> >> line 3</span> >> </div> >> >> However, this gets formatted as two lines, where the blank is glued >> before "line 3". >>
> > For me, the &nbsp; is turned into a funny character (big A with ^ on top). > This is certainly a bug I need to look into. > > Regards > Racke >
The funny character goes away after converting to UTF-8, but the bug of course remains. Regards Racke -- LinuXia Systems => http://www.linuxia.de/ Expert Interchange Consulting and System Administration ICDEVGROUP => http://www.icdevgroup.org/ Interchange Development Team
On Wed Mar 28 10:04:19 2012, MARKOV wrote: Show quoted text
> On Wed Mar 28 09:13:37 2012, MARKOV wrote:
> > A typical way of adding a blank line to HTML is by adding an
explicit Show quoted text
> > blank, like this: > > > > <div class="hinweis"> > > <span class="hinweis_text">HINWEIS für Retouren<br /> > > &nbsp;<br /> > > line 3</span> > > </div> > > > > However, this gets formatted as two lines, where the blank is glued > > before "line 3".
> > Little correction: every line that starts with a capital has a small > indentation as well. > > It is unclear which HTML and CSS features are supported. For
instance, Show quoted text
> <i> and "font-style: italic" have no effect.
Both are supported now. Regards Racke
On Wed Mar 28 09:13:37 2012, MARKOV wrote: Show quoted text
> A typical way of adding a blank line to HTML is by adding an explicit > blank, like this: > > <div class="hinweis"> > <span class="hinweis_text">HINWEIS für Retouren<br /> > &nbsp;<br /> > line 3</span> > </div> > > However, this gets formatted as two lines, where the blank is glued > before "line 3".
The rendering logic of HTML is quite tricky in this regard, as you can see by the following example: <style> .border { border: 2pt solid green; } </style> <div> <span class="border"> a &nbsp;</span><span class="border"> b</span><br /> <span class="border"> a &nbsp;</span> <span class="border"> b</span><br /> </div> In the first line, the whitespace in the "b" box is displayed in the "b" box. In the second line, the whitespace before the "b" box and the whitespace inside the "b" box are combined and displayed before the "b" box. Regards Racke