DiscordChatExporter-frontend icon indicating copy to clipboard operation
DiscordChatExporter-frontend copied to clipboard

Brackets not rendering correctly/deleting messages

Open Thinker109 opened this issue 1 year ago • 2 comments

In our discord server we tend to use brackets for a lot of [actions] [or thoughts] in-character. The exporter seems to handle one set of brackets per message fine but deletes text if you have more than one per message. Example images down below:

(but if they don't load and example would be something like:)

On Discord: [brackets] On ChatExporter: [brackets]

On Discord: [brackets] [2] [3] [last one] On ChatExporter: brackets 3 (<- and the text is colored blue)

Steps to reproduce the problem

This is a consistent problem across channels. Not sure how to circumvent it. Markdown doesn't seem to be the issue as I've also tried it with Format Markdown disabled. (Though maybe that didn't work, either, since italics still show up..?)

Specifications

image image

Environment

  • Operating system: Windows 10
  • CPU Architecture: AMD64
  • Flavor: Windows binary release (i believe)

DiscordChatExporter-frontend

  • Release version or commit hash: v2.9.0
  • Can the issue be reproduced in the demo?: Don't know

DiscordChatExporter

  • Version (CLI --version): v2.43.3.

How did you export the data?

  • Export format (CLI --format): Json
  • Downloaded assets (CLI --media): Yes
  • Markdown processing (CLI --markdown): Yes and No (two tries)
  • Other CLI options (optional): ...

Thinker109 avatar Jul 23 '24 18:07 Thinker109

Hello,

Thanks for the report <3 That's a bug with my markdown renderer - it probably thinks that the brackets are a markdown link.

Your exports are fine (but I suggest exporting with markdown disabled in DiscordChatExporter). After this issue is fixed, you won't need to re-download your exports again, you will just update DiscordChatExporter-frontend.

I am quite busy now IRL, but parser improvements are being worked on in (work in progress) newfrontend branch. This will be the next big DiscordChatExporter-frontend update :).

slatinsky avatar Jul 23 '24 23:07 slatinsky

Hi! Thanks for your quick response. Unfortunately, as I mentioned in my original post it seems like there's no difference between markdown-off or markdown-on? I hit the button and it still renders the markdown (italics, brackets, etc) in the DCEF. Any idea what I can do in the meantime to fix that? If not, I'll just wait for the update! Thank you very much once again for this project: absolute lifesaver

Thinker109 avatar Jul 25 '24 01:07 Thinker109

Hello, the issue has been fixed in the latest commit. Try the new beta build :)

slatinsky avatar Aug 17 '24 19:08 slatinsky