I am using SQL server 2012, & always use SP_HELPTEXT
to get my previously created Stored Procedures, In previous versions of SQL server there were no issues
There are two type of solution which you can use for remove extra space from sp_helptext output