Revision 7dff1dbd
Added by Andreas Müller over 12 years ago
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/berlinModel/in/BerlinModelFactsImport.java | ||
---|---|---|
296 | 296 |
//for E+M maps |
297 | 297 |
if (categoryFk == 14 && state.getConfig().isRemoveHttpMapsAnchor() && fact.contains("<a href")){ |
298 | 298 |
//example <a href="http://euromed.luomus.fi/euromed_map.php?taxon=280629&size=medium">distribution</a> |
299 |
fact = fact.replace("<a href\"", "").replace("\">distribution</a>", ""); |
|
299 |
fact = fact.replace("<a href=\"", "").replace("\">distribution</a>", "");
|
|
300 | 300 |
} |
301 | 301 |
|
302 | 302 |
//TODO textData.putText(fact, bmiConfig.getFactLanguage()); //doesn't work because bmiConfig.getFactLanguage() is not not a persistent Language Object |
Also available in: Unified diff
bugfix for wrong http anchor replacement