Is subscriptions_text no longer used? If so, should we also remove the code that generates it?
subscriptions_text
Did that code do anything special when generating subscriptions_text?
@ralph it just had the extra and in between the hub names. Nothing more it seems.
i meant, an extra "and" in between the hub names.
A couple things here.
First, there's a lot of one-letter variable names here. Can you rewrite it to use full words to help with readability? Perhaps items instead of s and index instead of j and item instead of i.
items
s
index
j
item
i
Second, I think this is modifying the contents of the original memberships and descriptions data structures, such that the JSON associated with the widget is going partially contain links. Maybe instead of modifying s here, you could use a generator pattern to avoid manipulating the list.
memberships
descriptions
No space here?
:+1: