Handle reference without closing bracket as text