logical approach to function parameters for markup

Re: https://github.com/Automattic/_s/issues/471