fixes bold rendering in placeholder

#3
by ysharma HF staff - opened

Hi, the rendering doesn't seem to be working properly at the moment (see the attached image for reference).

image.png

I think you removed the extra line between the image tag and the rest of the string from my previous PR. The text **Qwen1.5-32B** uses markdown syntax (double asterisks) to make the text bold. Now, when the markdown syntax is directly attached to the image tag without a line break, it confuses the markdown renderer, and the formatting doesn't work as expected.

To remedy this I suggest following change in this small PR -
The image tag <img src="xyz" style="width:40%"> is followed by a space and then the text <b>Qwen1.5-32B</b>. The <b> tag is an HTML tag used to make the text bold. Since, HTML tags are not part of the markdown syntax and are treated as separate elements by the markdown renderer. Therefore, the image tag and the text can be on the same line without causing any rendering issues that way.

JustinLin610 changed pull request status to merged

Sign up or log in to comment