Add missing title attribute in rendered HTML

The `data` attributes need special handling. The `title` attribute will get rendered automatically, right? Please correct me if I am wrong. Thanks!
Merge pull request #1486 from rishabhsrao/patch-1

Add missing title attribute in rendered HTML