Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markdown rendering "eats" html tags #10412

Closed
icewind1991 opened this issue Aug 29, 2023 · 1 comment · Fixed by nextcloud-libraries/nextcloud-vue#4486
Closed

Markdown rendering "eats" html tags #10412

icewind1991 opened this issue Aug 29, 2023 · 1 comment · Fixed by nextcloud-libraries/nextcloud-vue#4486
Assignees
Milestone

Comments

@icewind1991
Copy link
Member

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Use talk rc that has markdown support
  2. send "<test>" as a message

Expected behaviour

The "<test>" text is visible

Actual behaviour

An empty message shows up

Some properly formatted html messages ("<b>test</b>") only have the tags stripped, while others ("<h1>test</h1>") have both the tag and the content removed during rendering.

Instead of completely removing unsupported tags, it should instead render the html "source" as plain text

@nickvergessen
Copy link
Member

    ```
    <b>test</b>
    ```

Should work at the moment. But yeah I agree that showing it "plain" would be better, but that needs fixing in https://github.com/nextcloud-libraries/nextcloud-vue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
3 participants