remove EOLs from history items (closes #25)