Interesting.
That leads me to thinking that a useful new function would be something like wf_render_elements:map_body, which would recursively map over all body elements to apply a function. That would eliminate the need to flatten the list before hand, and would simplify any other elements that need to do simple transformations of the contents of the body.
That seems like a useful thing to me.
--
Jesse Gumm
Owner, Sigma Star Systems
414.940.4866 || sigma-star.com || @jessegumm
--
You received this message because you are subscribed to the Google Groups "Nitrogen Project / The Nitrogen Web Framework for Erlang" group.
To view this discussion on the web visit https://groups.google.com/d/msg/nitrogenweb/-/TthtVIBCW2oJ.