adamschwartz / log

Console.log with style.
https://adamschwartz.co/log
MIT License
3.01k stars 139 forks source link

Wrong processing (), [] in log string #12

Closed kodemi closed 11 years ago

kodemi commented 11 years ago

Tested in Chrome 27.0.1453.12 dev, Firefox 19.0.2

log( "*(data)*")

Result: (data) Expected: (data)


log("_(data)_")

Result: (data) Expected: (data)


log('[c="color: red"](data)[c]')

Result: c='color: red'[c] Expected: (data) in red color


log("*[data]*")

Result: [data] OK


log("_[data]_")

Result: [data] OK


log('[c="color: red"][data][c]')

Result: [c='color: red'][data][c] Expected: [data] in red color

adamschwartz commented 11 years ago

These have nearly all been fixed with 18c5d89e6a7c23bc2ac5af8ee8fb6d02ae542415 and a07509882e753760f4748be39ec6e343b3cea6d6.

The last open bug has been moved #22.