Character parsing issue

Hi,

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

let outputData= `Link # <a href="https://example.com/nav_to.do?uri=abc.do?sys_id=d2c5208adb9ec8d4b4775d6e5e9619b2" style="font-family: 'Times New Roman', Times, serif; color: rgb(0,0,255); text-decoration: none" target="_blank">LINK</a> `
	console.log(outputData);
	
	const payloads = await bp.cms.renderElement('builtin_text', {
				on: 'web',
				text: outputData,
				typing: '1s',
				markdown: true
				}, event);
	await bp.events.replyToEvent(event, payloads);

But on chat window it coming out as below

‘_’ is getting parsed with em HTML tags

https://example.com/nav<em>to.do?uri=abc.do?sys</em>id=d2c5208adb9ec8d4b4775d6e5e9619b2

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

Thanks in advance.

Regards,
Jeevan

Hi @Jeevan454

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

[LINK](https://example.com/nav_to.do?uri=abc.do?sys_id=d2c5208adb9ec8d4b4775d6e5e9619b2)
1 Like

Thank you for quick reply,
It worked :slightly_smiling_face: