Hi Guido, Looks like you're talking about this one: http://jira.xwiki.org/jira/browse/XE-50
The current "solution" is to use the extract field manually. Thanks -Vincent On Sep 23, 2007, at 1:26 AM, G.Schoepp wrote: > Hi, > > there is a problem with the blog macro (Blog.Macros) when content > length > is greater than 400 and there is an html open tag right before the > 400th > position. > > E.g. content from position 390 to 428 is: > "This <div class="foo">is a test </div>" > 01234567890123456789012345678901234567 > 9 0 1 2 > 3 4 4 4 > > In this case the code below will insert > "[...]This <div " > as blog entry which destroys HTML formatting. > > This is an excerpt of the blog macro code: > #set($content = $bentrydoc.display("extract", "view", $bentryobj)) > #if($content=="") > #set($content = $bentrydoc.display("content", "view", $bentryobj)) > #if($content.length()>400) > #set($i = $content.lastIndexOf(" ",400)) > > Guido _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users