summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/DBInfoscreen/Helper/HAFAS.pm8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/DBInfoscreen/Helper/HAFAS.pm b/lib/DBInfoscreen/Helper/HAFAS.pm
index 3faf3c7..4a3c3e7 100644
--- a/lib/DBInfoscreen/Helper/HAFAS.pm
+++ b/lib/DBInfoscreen/Helper/HAFAS.pm
@@ -138,6 +138,14 @@ sub get_xml_p {
{
}
+ # ... and <HIMMessage [...] lead="[...]<>[...]">
+ # (replace <> with t$t)
+ while ( $body
+ =~ s{<HIMMessage([^>]+)lead="([^"]*)<>([^"=]*)"}{<HIMMessage$1lead="$2&#11020;$3"}gis
+ )
+ {
+ }
+
# ... and any other HTML tag inside an XML attribute
# (remove them entirely)
while ( $body