Adds feature to get text content as HTML div element (as string)