use DOM::Tiny::_HTML;
use Scalar::Util qw(blessed weaken);
-our $VERSION = '0.003';
+our $VERSION = '0.004';
sub new {
my $class = shift;
use warnings;
use Exporter 'import';
-our $VERSION = '0.003';
+our $VERSION = '0.004';
our @EXPORT_OK = qw(html_escape html_unescape);
use strict;
use warnings;
-our $VERSION = '0.003';
+our $VERSION = '0.004';
my $ESCAPE_RE = qr/\\[^0-9a-fA-F]|\\[0-9a-fA-F]{1,6}/;
my $ATTR_RE = qr/
use constant REDUCE => ($] >= 5.008009 ? \&List::Util::reduce : \&_reduce);
-our $VERSION = '0.003';
+our $VERSION = '0.004';
sub new {
my $class = shift;
use DOM::Tiny::Entities qw(html_escape html_unescape);
use Scalar::Util 'weaken';
-our $VERSION = '0.003';
+our $VERSION = '0.004';
my $ATTR_RE = qr/
([^<>=\s\/]+|\/) # Key