Fix layout, insert breaklines, set links