mirror of
https://dev.narayana.im/narayana/telegabber.git
synced 2026-08-05 12:17:06 +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:
|
case client.TypeTextEntityTypeStrikethrough:
|
||||||
return markupBraces(entity, strikeRunesXEP0393, strikeRunesXEP0393)
|
return markupBraces(entity, strikeRunesXEP0393, strikeRunesXEP0393)
|
||||||
case client.TypeTextEntityTypeCode:
|
case client.TypeTextEntityTypeCode:
|
||||||
// inline code is non-standard
|
|
||||||
return markupBraces(entity, codeRunes, codeRunes)
|
return markupBraces(entity, codeRunes, codeRunes)
|
||||||
case client.TypeTextEntityTypePre:
|
case client.TypeTextEntityTypePre:
|
||||||
return markupBraces(entity, preRuneStart, preRuneEnd)
|
return markupBraces(entity, preRuneStart, preRuneEnd)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue