element-hq / element-hq/element-web

Can't view edit history of edited latex

Open
#17,093 0 comments 1 reaction 0 assignees View on GitHub
A-Maths T-Defect Z-Labs Z-Rageshake
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Description

Can't view edit history of edited latex: the history popup panel closes immediately

### Steps to reproduce

- write some latex with new syntax `\(\sqrt{}\)`
- edit it to `\(\sqrt{x*y}\)`
- try to view the edit history

Describe how what happens differs from what you expected.

Logs being sent: yes

![image](https://user-images.githubusercontent.com/2803622/116430113-d0d92180-a846-11eb-8630-301722d4a1ce.png)

message source (how to find the original event?):
```
{
"type": "m.room.message",
"content": {
"m.new_content": {
"msgtype": "m.text",
"body": "\\(\\sqrt{x*y}\\)",
"format": "org.matrix.custom.html",
"formatted_body": "\\sqrt{x*y}"
},
"m.relates_to": {
"rel_type": "m.replace",
"event_id": "$19_97r9Qam-RyY08XZOQ4cr9lfrmJWStWq2YtXUDDto"
},
"msgtype": "m.text",
"body": " * \\(\\sqrt{x*y}\\)",
"format": "org.matrix.custom.html",
"formatted_body": " * \\sqrt{x*y}"
}
}
```

### Version information

- **Platform**: desktop

For the desktop app:

- **OS**: Arch
- **Version**: aur/element-desktop-nightly-bin 2021042701-1 (still in 2022040801)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.