#ifndef _SHERLOCK_OBJECT_H
#define _SHERLOCK_OBJECT_H
-#define MAX_ATTR_SIZE 1024 /* Maximum length an attribute can ever have (including name and trailing 0) */
+#define MAX_ATTR_SIZE 2500
+ /* Maximum length an attribute can ever have (including name and trailing 0).
+ * It has to be long enough to contain 1 URL, 1 reftext, and a few numbers
+ * (see 'x' attribute in labels). */
struct fastbuf;
struct mempool;