Replacing heading spaces by tabulations