BotFramework-Emulator icon indicating copy to clipboard operation
BotFramework-Emulator copied to clipboard

Markdowns not working after latest update v3.5.36

Open keshavnagpal opened this issue 8 years ago • 13 comments

Hi, After the latest update, the markdowns are not working in the emulator. Instead of getting Bold , I'm getting ** Bold ** etc.

In the webChat of Azure Portal, they are still working fine.

keshavnagpal avatar May 07 '18 11:05 keshavnagpal

@compulim Can you take a look?

eanders-ms avatar May 07 '18 17:05 eanders-ms

Verified. v3.5.36 not honoring Markdown syntax anymore.

ghost avatar May 09 '18 01:05 ghost

+1 I've also getting issues with adaptive cards.
Not sure if it's an emulator issue, Bot framework 3.15 or both

Amintasn avatar May 09 '18 08:05 Amintasn

@Amintasn I think it's the emulator issue. I'm currently using v3.5.35 for testing and markdowns are working fine on it. And same project when accessed through v3.5.36 , markdowns don't work.

keshavnagpal avatar May 09 '18 09:05 keshavnagpal

@keshavnagpal Thanks for the feedback. I've downloaded the v.3.5.35 to see how the bot would behave. However, my emulator automatically updates it to v3.5.36 before I can start working. Do you know how I can prevent that? Thx

Amintasn avatar May 09 '18 10:05 Amintasn

@Amintasn Go to your bot emulator install directory, there will be two more directories inside it with names v3.5.36 v3.5.35 I deleted v3.5.36 directory, in order to use the older version

keshavnagpal avatar May 09 '18 11:05 keshavnagpal

@keshavnagpal Thx! Still not working for me on v3.5.35 though. My adaptive cards are simply been ignored by the emulator. Working fine on Azure Web Chat on the other hand.

Amintasn avatar May 09 '18 12:05 Amintasn

@keshavnagpal Working fine now with. Using Bot Emulator v3.5.36 with Bot Connector v.3.14. Thx

Amintasn avatar May 09 '18 13:05 Amintasn

Relates to https://github.com/Microsoft/BotFramework-WebChat/issues/972

JasonSowers avatar May 09 '18 20:05 JasonSowers

It's not working for me either on the newest version using adaptive cards. It's still working in prod though, therefore I would assume it's emulator related.

alexknipfer avatar May 31 '18 19:05 alexknipfer

Will fix in Web Chat PR #1034 by exposing Markdown-It engine bundled in Web Chat to window.markdownit, so Adaptive Cards 1.0 can use it.

compulim avatar Jul 03 '18 08:07 compulim

@compulim - what's the ETA for this fix in Emulator?

vishwacsena avatar Oct 12 '18 16:10 vishwacsena

Checked today with @vishwacsena, Markdown is working in latest Emulator.

We are using [email protected].

Easiest way to check if Markdown is working or not. Write this sentence, My name is "bot". If you see the double-quote become smart quotes (curly double-quote, like My name is “bot”), the Markdown-It engine is running.

compulim avatar Oct 12 '18 18:10 compulim