Changeset 4915 in josm
- Timestamp:
- 2012-02-11T14:31:50+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/WikiReader.java
r3589 r4915 113 113 boolean inside = false; 114 114 boolean transl = false; 115 boolean skip = false; 115 116 String b = ""; 116 117 for (String line = in.readLine(); line != null; line = in.readLine()) { … … 128 129 inside = false; 129 130 } else if (line.contains("<div class=\"trac-modifiedby\">")) { 130 continue;131 skip = true; 131 132 } 132 if (inside && !transl ) {133 if (inside && !transl && !skip) { 133 134 // add a border="0" attribute to images, otherwise the internal help browser 134 135 // will render a thick border around images inside an <a> element … … 140 141 transl = false; 141 142 } 143 if (line.contains("</div>")) { 144 skip = false; 145 } 142 146 } 143 147 if (b.indexOf(" Describe ") >= 0
Note:
See TracChangeset
for help on using the changeset viewer.