Yes the author is accounting for the equity buildup. They only count the interest part of the mortgage repayments as an expense. Any principal repayments are neutral.