|
top
|
Subject: Re: line breaks and spaces Author: Minollo I. Date: 01 Mar 2002 10:09 AM
|
Jerry,
we've tried understanding reproducing the problem you described, but
with no luck.
I tried building a simple test, in which I have a stylesheet generating
HTML which has a fragment of text like this:
{p}
This is statement number 1. And this is statement number 2.
{/p}
Then, trying to follow your instructions, I position the cursor after "1."
and typed Enter; the result was:
{p}
This is statement number 1.
And this is statement number 2.
{/p}
....where Stylus added a bunch of tabs (or spaces depending on the Option
settings) to keep the two lines of text at the same starting column.
Generating HTML in *both* cases, the browser preview displays
"This is statement number 1. And this is statement number 2."
(yes, with a space after "1."); this is the way HTML handles whitespaces
(any sequence of newlines+tabs+blanks is converted in one blank).
This is a reasonable behavior from what I can tell; so I guess I'm
misunderstanding your problem.
Can you describe what you are seeing/doing in more details, possibly with
an example?
BTW, currently you cannot word-wrap text in the Stylus Studio editors.
Thanks,
Minollo
|
|
|