big-AGI icon indicating copy to clipboard operation
big-AGI copied to clipboard

[BUG] markdown: bulletpoints render without line breaks?

Open mindplay-dk opened this issue 7 months ago • 11 comments

Description

I'm trying out Big-AGI with Claude 3.5 Sonnet, and it seems the UI can't handle bulletpoints in markdown.

Inspecting the HTML in the browser, it's just a <p> tag and a bunch of bullet point characters:

image

I tried exporting as markdown, and here it's unicode bulletpoints as well.

image

If I run the same query in Claude's UI, the HTML is proper <li> elements - however, if I press the "copy" button on the chat response, the markup is those same unicode bulletpoint characters instead.

This might suggest that's actually how Claude responds now? Which seems like a really odd choice on their part.

I obviously can't fault you (or whatever library you're using) for not handling something that isn't proper markdown - but it sounds really odd. Has anthropic decided to go it's own way and just invent some weird new markdown syntax here? Just seems like an unnecessary roadblock for anything that relies on any of the most common markdown libraries.

But I suppose, if this is how Anthropic does it now, maybe that's something clients will need to handle? 🤷‍♂️

Very odd. 🤨

Device and browser

Chrome on Win 11

Screenshots and more

image

Willingness to Contribute

  • [ ] 🙋‍♂️ Yes, I would like to contribute a fix.

mindplay-dk avatar Jul 10 '24 16:07 mindplay-dk