burningmoth / burningmoth-chromelogger-firefox

WebExtension implementing Chrome Logger protocol for Firefox
15 stars 12 forks source link

Table formatting is broken #2

Closed falkenhawk closed 6 years ago

falkenhawk commented 6 years ago

image

afair it worked in previous versions

tarraccas commented 6 years ago

Ensure that the substitution patterns are not being escaped via double percentage signs (%%) in the library you're using to encode the ChromeLogger data.

Given the following script: <script data-chromelogger-rows="rows">var rows = [[ [ "%s is a string, %d is a number, %o is an object, %cthis is styled, %%s is escaped", 'Six', 6, { 'value': 6 }, 'color:powderblue;font-weight:bold;font-style:italic', 'and therefore not substituted' ] ]];</script>

The following output should result in the web console: image

tarraccas commented 6 years ago

console.table() support has been restored as of version 1.7.1