firefox-devtools / devtools-core

:rocket: Packages for Firefox DevTools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Non-cropped URLs are not rendered

Loirooriol opened this issue · comments

Rep({
  member: {"open": true},
  object: "http://example.com",
}).props.children;

Result: empty string
Expected: a link

Regressed by bug 1419479, probably e923826. Causes bug 1426094.

Cc @nchevobbe

Thanks @Loirooriol . I'll push a PR shortly, with a test for this case.

Eventually, we could get rid of this member prop and force consumer to only pass a falsy crop limit when they don't want a cropped string