Strip tags from title in data-text attribute

Strip html tags in data-text attribute on page title. 
Html tags break the title  if there is already a filter which returns title with html tags.
Currently happens if  Easy Digital Downloads is activated.