List Info

Thread: Parsing/Rendering issue with the first paragraph




Parsing/Rendering issue with the first paragraph
user name
2006-10-26 21:02:44
Is that just because of spacing issues? Or am I missing
something?

-n

On Oct 26, 2006, at 4:40 PM, Janne Jalkanen wrote:

>>  I've noticed that the first paragraph of text
generated by JSPWiki 
>> is not enclosed in <p> tags unless I put a
blank line at the top of 
>> the page text. Since the MarkupParser generates a
DOM tree, I guess 
>> the issue lies there. Is this behavior intentional?
If so why and 
>> what does everyone think about it? I'd rather have
it in <p> tags...
>
> The trouble is that if we translate just a single
sentence, we don't 
> want the <p> -tag.  This is true for quite a lot
of different 
> applications.
>
> There should be some logic which says that "if
there is more than one 
> paragraph, then the first one should be a paragraph,
too".  But I'm 
> not quite sure how to handle that.
>
> /Janne
> _______________________________________________
> Jspwiki-users mailing list
> Jspwiki-usersecyrd.com
> http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users
>

_______________________________________________
Jspwiki-users mailing list
Jspwiki-usersecyrd.com
http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )