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