Replace inline note with note tag