attachment: Use relative paths when inserting links.