Ignore:
Timestamp:
2009-03-08T18:29:12+01:00 (16 years ago)
Author:
stoecker
Message:

some cleanups to Wiki reader

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/WikiReader.java

    r1426 r1475  
    3838
    3939    private String readNormal(BufferedReader in) throws IOException {
    40         StringBuilder b = new StringBuilder("<html>");
     40        String b = "<html>";
    4141        for (String line = in.readLine(); line != null; line = in.readLine()) {
    4242            line = adjustText(line);
    43             b.append(line);
    44             b.append("\n");
     43            if(!line.contains("[[TranslatedPages]]"))
     44              b += line + "\n";
    4545        }
    46         return b.toString();
     46        return b;
    4747    }
    4848
Note: See TracChangeset for help on using the changeset viewer.