Expand content variable

This expands the variables inside content as well.