Bill Moseley wrote on Sunday, March 24:
>At 15:08 2002-03-23 -0800, Bill Moseley wrote:
>>I need the html inside the <a>...</a> tag:

> My first try was
> 
>  $foo = join '', map { $_->as_html() } $node->content_list;
>
> thinking as_html might see the scalar text.

I haven't tested it, but
  $node->objectify_text();
  $foo = join '', map { $_->as_html() } $node->content_list;
should work.

Nevertheless, content_as_HTML() would be a useful method.

Ciao, Claus 

Reply via email to