mirror of
https://github.com/tateisu/SubwayTooter
synced 2024-12-22 07:14:59 +01:00
update full_description.pl, recognize html block tags.
This commit is contained in:
parent
c58b5e5480
commit
2c74dff276
@ -29,6 +29,7 @@ my $blockElements = join "|", qw(
|
||||
|
||||
# Attributes part inside HTML tag.
|
||||
my $attrsRe = qr!(?:[^>/"]+|"[^"]*")*!;
|
||||
|
||||
my $blockElementsRe = qr!(?:$blockElements)!i;
|
||||
my $trimElementsRe = qr!\s*(</?$blockElementsRe\b$attrsRe/?>)\s*!;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user