Put node attribute on correct lines to match text.