Using a slightly different strip tags approach 

Refs: https://github.com/idno/idno/issues/265