hi

On 10/19/05, erik quanstrom <[EMAIL PROTECTED]> wrote:
> to be more exact: this
>
> <pre>
> 1       2
> </pre>
>
> yields 2 tokens
>
> '1        ' ('1' + ' '*8)
> '2'
>
> render() never sees the <pre> tag and renderrunes()
> eats the trailing spaces yielding
>
> 1 2
>
I'm aware of this,

> i'm not sure if this is the spec or not, but it's not what
> one expects, based on most browsers.
>

You are right, there are a lot of things to be improved:
<pre>, <table>, justified text, etc.  And to
do this the whole render process need to be changed,
I still don't know how to solve this.
Charon solves this by using the Line struct (layout.b),
and braking the html items list into a list of Lines.
I don't want to brake the list of items,I'm short
of ideas about how to do this, but i'm still thinking.

Suggestions are welcome.

--
Federico G. Benavento

Reply via email to