mirror of
https://github.com/derf/travelynx
synced 2024-11-13 08:17:09 +00:00
*sigh* oh hafas, you so hafas
This commit is contained in:
parent
74ae9825bf
commit
11727e0f99
1 changed files with 2 additions and 1 deletions
|
@ -195,7 +195,8 @@ sub get_xml_p {
|
|||
|
||||
# More fixes for invalid XML
|
||||
$body =~ s{P&R}{P&R};
|
||||
$body =~ s{Wagen \d+ \K&(?= )}{&};
|
||||
$body =~ s{Wagen \d+ \K&}{&};
|
||||
$body =~ s{Wagen \d+, \d+ \K&}{&};
|
||||
|
||||
# <Attribute [...] text="[...] "[...]"" /> is invalid XML.
|
||||
# Work around it.
|
||||
|
|
Loading…
Reference in a new issue