diff --git a/source/net/yacy/document/Document.java b/source/net/yacy/document/Document.java index a9ced37c6..ed3ec6e5b 100644 --- a/source/net/yacy/document/Document.java +++ b/source/net/yacy/document/Document.java @@ -985,9 +985,11 @@ dc_rights } StringBuilder sb = new StringBuilder(60); sb.append(d.dc_title()); - if (!d.dc_description().equals(d.dc_title()) && sb.length() < Request.descrLength - tagname.length()) { - sb.append(' '); - sb.append(d.dc_description()); + if (d.dc_description().length > 0) { + if (!d.dc_description()[0].equals(d.dc_title()) && sb.length() < Request.descrLength - tagname.length()) { + sb.append(' '); + sb.append(d.dc_description()[0]); + } } if (sb.length() < Request.descrLength - tagname.length()) { sb.append(' ');