element-hq / element-hq/element-web
Can't view edit history of edited latex
- 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

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
Assessment
This issue has not been assessed yet.