vtexdocs / devportal

https://developers.vtex.com/

Home Page:https://developers.vtex.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Info callout not rendering properly

julia-rabello opened this issue · comments

Describe the bug

  • When using >ℹ to add info callouts in markdown, in some guides the info emoji gets repeated in the beginning of the callout, sometimes it does not, even though the markdown code is the same. The expected option would be for the emoji not to get repeated.
  • There are often line breaks in words containing links within callouts, when line breaks should only happen between words as in normal text.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://developers.vtex.com/docs/guides/data-privacy
  2. Scroll down to the info callout.

Expected behavior
The emoji should not get repeated and line breaks should only happen between words, as in normal text.

Screenshots

image
ℹ emoji + line break within word with link (from https://developers.vtex.com/docs/guides/data-privacy)

image
without the repeated ℹ emoji (correct) (from https://developers.vtex.com/docs/guides/understanding-vtex-reference-architectures)

Desktop:

  • OS: Windows
  • Browser: Chrome

The repeated emoji issue was solved by #700.

I opened a separate issue for the line break problem: #705.