Fix inputs/submits.
Add data-emit-ignore support.