But he's running this through RedCloth, and whitespace is significant there, and renders into HTML. He's seeing

~~~

h2. Some Header

Some paragraph.
~~~

collapse to

~~~
h2. Some Header

Some paragraph.
~~~

and that lack of leading newline is somehow significant to his RedCloth conversion.

Walter

On Oct 6, 2010, at 9:11 AM, John T. wrote:

bingo bob wrote:
The more I think about this the more Fred's suggestion makes sense - I suspect that mysql is somehow monkeying with the text on save, trimming
it at the top or removing CR characters or the like.

Is this normal? How can you control this behaviour, seems wierd that it
does this by default if this is indeed what's happening.

If you're trying to see blank lines and extra spaces on your web page,
and the output is not between <pre> tags, the behavior of HTML will
collapse extra white space. Ex.:

A   Line   Like   This

will render as:

A Line Like This

and this:

hello

world

will render as:

hello world
--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails- [email protected]. To unsubscribe from this group, send email to [email protected] . For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en .


--
You received this message because you are subscribed to the Google Groups "Ruby on 
Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to