@juliocamarero

Can I get your opinion on this. Should this be fixed as @grace-guan99 fixed this here. Or should it be fixed in the implementation of liferay-util:buffer. I can't think of any reasons why we might need to preserve the beginning and/or trailing white spaces.