Revision baff86ea
Added by Patrick Plitzner almost 6 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/descriptive/DescriptiveLabelProvider.java | ||
---|---|---|
26 | 26 |
@Override |
27 | 27 |
public String getText(Object element) { |
28 | 28 |
String text = DescriptionHelper.getLabel(element); |
29 |
text = text.replaceAll("[\\r\\n]", ""); //$NON-NLS-1$ //$NON-NLS-2$ |
|
29 |
text = text.replaceAll("[\\r\\n]", " "); //$NON-NLS-1$ //$NON-NLS-2$
|
|
30 | 30 |
if(text.length()>MAX_LENGTH){ |
31 | 31 |
text = text.substring(0, MAX_LENGTH)+TRUNCATE_SIGN; |
32 | 32 |
} |
Also available in: Unified diff
ref #6318 Replace LF and CR from description text with space (" ")