normalise spacing and line ends in source
add getString alternative that does not require pre_string