Allow parens in text runs
Improve url and text run detection