Skip to content

[Bug]: Community discussion posts swallow DoenetML tags #2982

Description

@dqnykamp

Before submitting

Affected area

Discussions

Layer

Frontend (apps/app)

Summary

The community discussion posts presumably attempt to parse HTML tags so that DoenetML tags that aren't enclosed in backticks are swallowed and not displayed. Since new users do not know about this requirement, it is not uncommon to have posts that contain unreadable portions as the key piece, the DoenetML tag, is invisible.

Steps to reproduce

  1. Create a post on community discussions
  2. Include text like: My <p> tags are disappearing.
  3. The post will end up being: My tags are disappearing

Expected behavior

When someone types an unescaped DoenetML tag in a discussions post, it is displayed as plain text.

Actual behavior

Any unescaped tags silently disappear from the post.

Doenet version or commit

No response

Browser / OS / Node version

No response

Relevant logs

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    Priority

    Low

    Effort

    Low

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions