Fix compare theme version code
fix pasting text ending in line delimiter