diff options
author | Daniel Friesel <derf@finalrewind.org> | 2015-09-12 22:50:48 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2015-09-12 22:50:48 +0200 |
commit | cf1965240eb70ad91088d4f4b9f8014bd0892eaa (patch) | |
tree | 20333dd0cecb17db907a91a55a2642c06dc79905 /lib | |
parent | af2e20ef1702e8cfc84e4858d26e46e942a87554 (diff) |
HAFAS: Fix NVV fixup regex
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Travel/Status/DE/HAFAS.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travel/Status/DE/HAFAS.pm b/lib/Travel/Status/DE/HAFAS.pm index 6c1dd78..61e3469 100644 --- a/lib/Travel/Status/DE/HAFAS.pm +++ b/lib/Travel/Status/DE/HAFAS.pm @@ -140,7 +140,7 @@ sub new { # Returns invalid XML with tags inside HIMMessage's lead attribute. # Fix this. $ref->{raw_xml} - =~ s{ lead = " \K ( [^"]+ ) }{ $1 =~ s{ < [^>]+ > }{}egr }ex; + =~ s{ lead = " \K ( [^"]+ ) }{ $1 =~ s{ < [^>]+ > }{}grx }egx; } if ( $ref->{developer_mode} ) { |