Truncate text and keep urls safe (light version of node-html-truncate)