Skip to content
Snippets Groups Projects
Commit cf196524 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

HAFAS: Fix NVV fixup regex

parent af2e20ef
No related branches found
No related tags found
No related merge requests found
......@@ -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} ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment