Fix: correct nested list rendering in on_action docstring 👍 (#2831)