Line break bug?

Jason Garber jg at jasongarber.com
Mon Aug 4 09:40:57 EDT 2008


There is an option.  just set the hard_breaks accessor of your  
RedCloth object to false.

On Aug 2, 2008, at 6:58 AM, Jonathan Stott wrote:

> To flip this bug discussion on its head.
>
> I can understand the desire to conform to the Textile standard, but I
> actually find the (old) red cloth's behaviour far more useful in 99%  
> of
> cases.
>
> I very rarely type out addresses, or anything which leads me to care
> about the exact positioning of my end of lines, except for code  
> samples,
> already handled by bc.  On the other hand, what I do end up doing a  
> lot
> is storing pages written in textile in VCS systems, so that they can  
> be
> worked on easily by collaborators, or just to track them over time.   
> And
> for this purpose, being able to type my paragraphs in 80 or 90  
> character
> lines, but have them display as a normal HTML paragraph is far more
> valuable.  Merges become easier and diffs (Did they add a comma or a
> sentence?) are much more comprehensible.  It far out outweighs the
> inconvenience of having to type <br /> a few times for an address.
>
> Would it be possible to add an option to disable the over enthusiastic
> line-breaking?
>
> -- 
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Redcloth-upwards mailing list
> Redcloth-upwards at rubyforge.org
> http://rubyforge.org/mailman/listinfo/redcloth-upwards



More information about the Redcloth-upwards mailing list