Do you see the same thing happening if you create a simple-separate (no module - no extended form sample) SSB - that just prints out that HTML?
If that works, try adding to it incrementally - an extended form, then modules. (trying to rule out the solution as a cause)