Ignore:
Timestamp:
2019-05-04T22:39:59+02:00 (6 years ago)
Author:
stoecker
Message:

fix #josm17679 - CDATA in translated texts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/i18n/convmaps.pl

    r33940 r34996  
    4242    print "tr(\"$val\"); /* $line */\n";
    4343  }
     44  elsif($line =~ /<description +lang=['"]en['"]><!\[CDATA\[(.*)\]\]><\/description>/)
     45  {
     46    my $val = $1;
     47    $val =~ s/"/\\"/g;
     48    print "tr(\"$val\"); /* $line */\n";
     49  }
    4450  elsif($line =~ /<description +lang=['"]en['"]>(.*)<\/description>/)
    4551  {
Note: See TracChangeset for help on using the changeset viewer.