Fixed link parsing w.r.t. atom.