List Info

Thread: Parsing/Rendering issue with the first paragraph




Parsing/Rendering issue with the first paragraph
user name
2006-10-27 07:24:53
> Rather than do this at the front end of the parse, why
not do it at
> the tail? I.e., check the JDOM tree and wrap the first
element in a
> paragraph Element if it stands alone?

Yes, now that we actually have the possibility to do it
(before we  
did not when TranslatorReader output just straight HTML), it
might be  
feasible.

Or, the second the first <p> tag gets put in, we could
go back and do  
it then.

(Someone asked for the reason: we want to be able to
translate single  
paragraphs without getting the <p> tags, because they
will break the  
XHTML structure.  This is good for example when you want to
embed  
simply data on the page with the TranslateTag.)

/Janne
_______________________________________________
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 )