Skip to content

Commit

Permalink
#296 fix punctuation, clarify TODOs in XML
Browse files Browse the repository at this point in the history
  • Loading branch information
zuevval committed Aug 2, 2021
1 parent b187eeb commit 3e7f11c
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,15 @@ internal fun toXml(material: Material): HtmlText {
SymbolType.ru to "RussianSymbols",
SymbolType.digit to "Numbers",
SymbolType.math to "ArithmeticSymbols",
SymbolType.special to "Signs",
SymbolType.greek to "TODO", // TODO
SymbolType.latin to "TODO" // TODO
SymbolType.special to "PunctuationSymbols",
SymbolType.greek to "GreekSymbols(TODO)", // TODO
SymbolType.latin to "LatinSymbols(TODO)" // TODO
)

with(material.data) {
val result = when (this) {
is Symbol -> "${sectionType[this.type]}:${this.char}"
is MarkerSymbol -> "TODO" // TODO consult @braille-systems/ios-development
is MarkerSymbol -> "Signs:(TODO)" + this.brailleDots.spelling // TODO consult @braille-systems/ios-development
}
return "<p>$result</p>"
}
Expand Down

0 comments on commit 3e7f11c

Please sign in to comment.