keep text only before detecting direction, use jsoup because bidiutils html stripping is too restrictive