Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Lines starting with a space should be rendered as space-preserve

#48

Originally posted on Trac by gaspard Original Trac Ticket

 Description

paragraphe starting with a space

A paragraphe starting with a space should be treated as space-preserving. Every first space on each line is removed.

line starting with a space in a normal paragraphe

A line starting with a space in a normal paragraphe should be treated as a line break.

Example:


This is a normal paragraphe. There are many phrases in this paragraphe and a forced line break
 here. End of first paragraphe.

 This second paragraphe
 is space preserving
 la la           la la.

Becomes:


This is a normal paragraphe. There are many phrases in this paragraphe and a forced line breakhere. End of first paragraphe.

This second paragraphe
is space preserving
la la           la la.

Trac Attachments

Trac Comments

2007-08-23 16:55:48 changed by gaspard

(In [725]) Fixed another bug related to line breaks. Refs #48 Lines starting with a space should be rendered as space-preserve.

2007-08-28 15:03:19 changed by gaspard

(In [731]) Fixed another bug related to line breaks. Refs #48 Lines starting with a space should be rendered as space-preserve.

Reported by Gaspard Bucher · September 3rd, 2008 @ 12:47 PM

State: new
Milestone: 1.0
Assigned to: Gaspard Bucher Gaspard Bucher

Activity

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.