codepan icon indicating copy to clipboard operation
codepan copied to clipboard

console.log with multiple arguments doesn't handle newline

Open mblarsen opened this issue 6 years ago • 1 comments

Code:

console.log('duration', turn.duration)
console.log('originalIncrement', turn.originalIncrement)
console.log('map', rebuildTimeMap(turn, text))

Output:

screen shot 2018-03-01 at 1 16 47 pm

See the \n after duration

I suppose it is somewhere in ProxyConsole this is handled.

mblarsen avatar Mar 01 '18 05:03 mblarsen

fixed by https://github.com/Prozi/codepan/commit/713b6d63260a44093e87511936b0c109fe306c55

Prozi avatar Jul 14 '19 01:07 Prozi