Moved set-el-innerHTML to inside render-event-to-html.
Propagate event before/after state to source code display.