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
SP_HELPTEXT
I wrote another workaround that just replaces the CrLf:
DECLARE @results table ([Text] nvarchar(255)) INSERT @results Exec sp_helptext spStudyRoleCacheFlushNotificationGet SELECT REPLACE(REPLACE([Text], CHAR(10), ''), CHAR(13), '') FROM @results