Skip to content

Blank text nodes after code blocks are "unimplemented" #355

Closed
@gnprice

Description

@gnprice

In a few messages, the current prototype reports as "unimplemented" a text node that appears to consist of two newlines. Specifically I see this in two recent messages on chat.zulip.org:
https://chat.zulip.org/#narrow/stream/412-api-documentation/topic/OpenAPI.20requestBody/near/1672619
https://chat.zulip.org/#narrow/stream/378-api-design/topic/unreads.3A.20access.20to.20messages/near/1668410

Both are from me; I don't know if there's some pattern in how I format things that happens to tickle this, or if that's a coincidence. In both cases, the unimplemented node appears just after a code block.

We should pin down what's happening in these messages and fix it so that we handle that HTML correctly with no complaints. For how to get the server's HTML for those messages, see comments in test/model/content_test.dart.

Metadata

Metadata

Assignees

Labels

a-contentParsing and rendering Zulip HTML content, notably message contents

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions