--- loncom/xml/LCParser.pm 2002/03/27 18:37:08 1.1 +++ loncom/xml/LCParser.pm 2002/04/01 21:47:13 1.2 @@ -1,10 +1,10 @@ package HTML::LCParser; -# $Id: LCParser.pm,v 1.1 2002/03/27 18:37:08 albertel Exp $ +# $Id: LCParser.pm,v 1.2 2002/04/01 21:47:13 albertel Exp $ require HTML::PullParser; @ISA=qw(HTML::PullParser); -$VERSION = sprintf("%d.%02d", q$Revision: 1.1 $ =~ /(\d+)\.(\d+)/); +$VERSION = sprintf("%d.%02d", q$Revision: 1.2 $ =~ /(\d+)\.(\d+)/); use strict; use Carp (); @@ -38,7 +38,7 @@ sub new my $self = $class->SUPER::new(%cnf, %ARGS) || return undef; $self->{textify} = $textify; - $self->encoded_entities(1); + $self->attr_encoded(1); $self; } @@ -151,7 +151,7 @@ C can read() from when i it will be a filehandle of some kind. The stream will be read() until EOF, but not closed. -It also will turn encoded_entities on by default. +It also will turn attr_encoded on by default. =item $p->get_token