Add logic to break down the given url in spans to achieve the best possible wordbreaking