Fix storing links in non-source edit buffers