... although one must ask why the "items" loop above doesn't get caught in an infinite loop: we add to the mediabag, and the iteration should get to new items eventually, and so on, no?

Didn't happen in my limited tests, but could, so above code suspicious, unless we can know if iterator only iterates on original list of items.

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/525ed042-e47c-4fc5-b13f-91560718ba83%40googlegroups.com.