Probably this should be refactored more, but this is enough to make TestXHTML pass now.
Attach a file by drag & drop or click to upload