BOT Framework Emulator has stopped rendering HTML
Bot Framework suddenly stopped rendering html, I added screenshot. What could be wrong? I am using v3.5.31 which is the latest. I used the Bot app template which is available when creating a new BOT project.
Below is the code I wrote
[Serializable]
public class RootDialog : IDialog<object>
{
public Task StartAsync(IDialogContext context)
{
context.Wait(MessageReceivedAsync);
return Task.CompletedTask;
}
private async Task MessageReceivedAsync(IDialogContext context, IAwaitable<object> result)
{
PromptDialog.Text(context, resumeAfter, "Enter your name", "Didn't get that",
3
);
}
private async Task resumeAfter(IDialogContext context, IAwaitable<string> result)
{
string answer = await result;
await context.PostAsync($"Hello <i><b>{answer}</b></i>");
}
}
+3
source to share
1 answer
This is reported here . and it is similar to the design in the WebChat control (which is what the Emulator uses behind the scenes). See Change in WebChat control: https://github.com/Microsoft/BotFramework-WebChat/commit/a5cd8cffb7a97fb925e4078dbe1085694fa92f80
+1
source to share