Changing EOL format for register component