This can happen when an assignment has a URL in the title.

To fix this, navigate to:
  1. The assignment > click the edit button
  2. Edit the title so it does not include a URL
  3. Save