Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
NetSuite not scrubbing carriage returns\newlines upon when submitting
I spent the better part of today chasing down a bug with a bunch of PDF template that was causing extra blank lines. I finally narrowed it down to '' instead of '\n'
As you probably know, carriage returns and line feeds are handled differently by browser, OS and application. For example, MAC's use \r, UNIX uses \n, WINDOWS uses .
Firefox treats them all as \n regardless of which OS it's running on (good boy firefox) but IE doesn't.
Acrobat interprets as TWO line breaks - ahhh!
So, long story short I had a bunch of text fields on records that had a mix of and \n - probably happened as people here used IE and Firefox.
Steve Klett | Senior Developer
NetValue Technology
0