mirror of
https://dev.narayana.im/narayana/telegabber.git
synced 2026-08-05 04:07:07 +00:00
Correction: XEP-0393 actually allows preformatted spans
This commit is contained in:
parent
5514bc9d16
commit
ae8152ad87
1 changed files with 0 additions and 1 deletions
|
|
@ -166,7 +166,6 @@ func EntityToXEP0393(entity *client.TextEntity) (*Insertion, *Insertion) {
|
|||
case client.TypeTextEntityTypeStrikethrough:
|
||||
return markupBraces(entity, strikeRunesXEP0393, strikeRunesXEP0393)
|
||||
case client.TypeTextEntityTypeCode:
|
||||
// inline code is non-standard
|
||||
return markupBraces(entity, codeRunes, codeRunes)
|
||||
case client.TypeTextEntityTypePre:
|
||||
return markupBraces(entity, preRuneStart, preRuneEnd)
|
||||
|
|
|
|||
Loading…
Reference in a new issue