extract and use html ellipsis