Character parsing issue


I have been trying to provide HTML link on chat window with below code

let outputData= `Link # <a href="" style="font-family: 'Times New Roman', Times, serif; color: rgb(0,0,255); text-decoration: none" target="_blank">LINK</a> `
	const payloads = await bp.cms.renderElement('builtin_text', {
				on: 'web',
				text: outputData,
				typing: '1s',
				markdown: true
				}, event);
	await, payloads);

But on chat window it coming out as below

‘_’ is getting parsed with em HTML tags<em></em>id=d2c5208adb9ec8d4b4775d6e5e9619b2

Can anyone help me here, how can i avoid default parsing?

Thanks in advance.


Hi @Jeevan454

You set markdown to true, so you should provide the link in markup format:

1 Like

Thank you for quick reply,
It worked :slightly_smiling_face: