Fix Bug 1059790, close div element opening tag

@peterbe @AdrianGaudebert tiny change, big win :)