fix broken unicode substitution + correct spans for doc links