Skip to content

Commit

Permalink
Fix encoding problems in shape names
Browse files Browse the repository at this point in the history
  • Loading branch information
yishn committed Sep 27, 2017
1 parent 796cff9 commit 688c2ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/boardmatcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ exports.getBoardSymmetries = function(board, vertex) {
}

exports.readShapes = function(content) {
let tree = sgf.parse(content)[0]
let tree = sgf.parse(content, () => {}, true)[0]
let result = []

for (let i = 0; i < tree.subtrees.length; i++) {
Expand Down

0 comments on commit 688c2ff

Please sign in to comment.