Skip to content

Commit

Permalink
feat: remove : from default format string to enable easier customizat…
Browse files Browse the repository at this point in the history
…ion and localization

fixes #785
  • Loading branch information
domoritz committed Aug 7, 2023
1 parent 3296437 commit bab8e2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/formatValue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export function formatValue(value: any, valueToHtml: (value: any) => string, max
val = stringify(val, maxDepth);
}

content += `<tr><td class="key">${valueToHtml(key)}:</td><td class="value">${valueToHtml(val)}</td></tr>`;
content += `<tr><td class="key">${valueToHtml(key)}</td><td class="value">${valueToHtml(val)}</td></tr>`;
}
content += `</table>`;
}
Expand Down

0 comments on commit bab8e2a

Please sign in to comment.