Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Guevara-chan authored Oct 25, 2018
1 parent 75b7d17 commit 200ee9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ class UI
for char in text
out = ''
switch
when char in '.?!' # Dot/Exclamation/Question.
when char in '.?!;' # Dot/Exclamation/Question.
out = if last_out isnt char then char else ''
when char in '\n' # Line break.
out = (if last_out[0] in "\n.?!]" then "" else ".") + char
out = (if last_out[0] in "\n.?!;]" then "" else ".") + char
when char is '(' # Opening bracket.
brackets++
out = " " + char
Expand Down

0 comments on commit 200ee9f

Please sign in to comment.