Skip to content

Minimal bundle error when rendering text because renderMarkdown is undefined #2723

@compulim

Description

@compulim

Version

master (4.7.0 RC)

Describe the bug

After loading the minimal bundle, on render, we should not call renderMarkdown as it is undefined.

This will make sure we render the text as plain text, instead of HTML.

Steps to reproduce

  1. Load webchat-minimal.js
  2. Type echo **123**

Expected behavior

The bot response should show up as **123** instead of bold 123.

Additional context

[Bug]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or an unintended behavior.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions