#47 ✓resolved
Gaspard Bucher

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

Reported by Gaspard Bucher | September 3rd, 2008 @ 12:47 PM | in 1.0

Originally posted on Trac by gaspard Original Trac Ticket

 Description (Last modified by gaspard)

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-16 09:27:17 changed by gaspard

Replaced by .

description changed.

Replaced by .

description changed.

2007-08-16 11:45:54 changed by gaspard

(In [706]) Implemented white-space/line-break when line starts with a space. Fixes #47. More bug fixes for relations. Refs #1.

status changed from new to closed.

resolution set to fixed.

(In [706]) Implemented white-space/line-break when line starts with a space. Fixes #47. More bug fixes for relations. Refs #1.

status changed from new to closed.

resolution set to fixed.

2007-08-21 11:25:05 changed by gaspard

It would be better if a single line break without spaces worked.

Hello Break

Replace white-space preserve by 'pre' tag.

status changed from closed to reopened.

type changed from enhancement to defect.

resolution deleted.

It would be better if a single line break without spaces worked.

Hello Break

Replace white-space preserve by 'pre' tag.

status changed from closed to reopened.

type changed from enhancement to defect.

resolution deleted.

2007-08-21 15:21:24 changed by gaspard

(In [719]) Modified zazen so line breaks are treated as 'br' tags in paragraphs. Fixes #47.

status changed from reopened to closed.

resolution set to fixed.

(In [719]) Modified zazen so line breaks are treated as 'br' tags in paragraphs. Fixes #47.

status changed from reopened to closed.

resolution set to fixed.

Comments and changes to this ticket

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Anyone knows how to use formatting here ?

Git repository: http://github.com/zena

Official website: http://zenadmin.org

Shared Ticket Bins

People watching this ticket

Tags

Referenced by

Pages