fixed invalid HTML when using simple view button
Merge pull request #98 from idleberg/2.0-dev

fixed invalid HTML when using simple view button