Code blocks with only one line render as one or more `[object Object]` strings on first load
- Load a docs page from scratch, e.g. https://gitlab-org.gitlab.io/gitlab-ui/?path=/docs/base-button--default
- Observe some code blocks render as
[object Object]
, or similar - Click on another component's story from the nav, and then click on the original story in the nav
- Observe that the code block renders correctly
It seems to only affect code blocks which have one line, e.g., https://gitlab.com/gitlab-org/gitlab-ui/blob/81a8250e2421022d885afb59b587bd5766a00480/src/components/base/badge/badge.md#L7-9.
Expected
From https://gitlab-org.gitlab.io/gitlab-ui/?path=/docs/base-button--default:
Actual
Another example
From https://gitlab-org.gitlab.io/gitlab-ui/?path=/docs/utilities-sprintf--sentence-with-link
Edited by Mark Florian