Compare line breaking of this formula from this blog post:

Default:  if q is not a power of 2 or this value is ρ With white-space: nowrap:  if q is not a power of 2 or this value is ρ In an mrow:  if q is not a power of 2 or this value is ρ