@ -230,6 +230,10 @@ class Publications(Bureau):
else:
entry.img = " "
# skip bogus entries with no text
if not hasattr(entry, "summary"):
continue
# limit summary to the last space below 500 characters
if len(entry.summary) > 500:
end = entry.summary.rfind(" ", 0, 499)