bug fix 4148
balanced html tags
removed trailing white spaces.
Merge pull request #738 from scnakandala/master

bug fix 4148