switched how the text of expandable links is generated to only include those items that are non-empty strings.

and this now uses a simpler approach by utilizing string-join()