summaryrefslogtreecommitdiff
path: root/state.go
diff options
context:
space:
mode:
authorAdam Scarr <adam@vektah.net>2017-08-10 22:06:08 +1000
committerAdam Scarr <adam@vektah.net>2017-08-10 22:06:08 +1000
commit8a92b5348f8cf6769f30237df906ee9ce71ad237 (patch)
treeee23dda7188bab1a01892fba4c1c697263c3a9a6 /state.go
parenta0e66b1c46ec57218f8a95a21ace7cbbceb29ec2 (diff)
Unicode safe by default
Diffstat (limited to 'state.go')
-rw-r--r--state.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/state.go b/state.go
index 64737dc..8aab3e2 100644
--- a/state.go
+++ b/state.go
@@ -65,7 +65,7 @@ func UnicodeWhitespace(s *State) {
func NewState(input string) *State {
return &State{
Input: input,
- WS: ASCIIWhitespace,
+ WS: UnicodeWhitespace,
}
}