|
|
@ -32,8 +32,8 @@ Without reason:
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"msgtype": "m.text",
|
|
|
|
"msgtype": "m.text",
|
|
|
|
"format": "org.matrix.custom.html",
|
|
|
|
"format": "org.matrix.custom.html",
|
|
|
|
"body": "Hello there, the movie was (Spoiler: awesome)",
|
|
|
|
"body": "Hello there, the movie was [spoiler](mxc://someserver/somefile)",
|
|
|
|
"formatted_body": "Hello there, the movie was [Spoiler](mxc://someserver/somefile)"
|
|
|
|
"formatted_body": "Hello there, the movie was <span data-mx-spoiler>awesome</span>"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
```
|
|
|
|
With reason:
|
|
|
|
With reason:
|
|
|
@ -41,8 +41,8 @@ With reason:
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"msgtype": "m.text",
|
|
|
|
"msgtype": "m.text",
|
|
|
|
"format": "org.matrix.custom.html",
|
|
|
|
"format": "org.matrix.custom.html",
|
|
|
|
"body": "Hey (Spoiler for movie: the movie was awesome)",
|
|
|
|
"body": "Hey [Spoiler for movie](mxc://someserver/somefile)",
|
|
|
|
"formatted_body": "Hey [Spoiler for movie](mxc://someserver/somefile)"
|
|
|
|
"formatted_body": "Hey <span data-mx-spoiler="movie">the movie was awesome</span>"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|