Changeset 1290 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2009-01-17T23:52:24+01:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/WikiReader.java
r1169 r1290 32 32 public String read(String url) throws IOException { 33 33 BufferedReader in = new BufferedReader(new InputStreamReader(new URL(url).openStream(), "utf-8")); 34 if (url.startsWith(baseurl) )34 if (url.startsWith(baseurl) && !url.endsWith("?format=txt")) 35 35 return readFromTrac(in, url); 36 36 return readNormal(in);
Note:
See TracChangeset
for help on using the changeset viewer.