Fixes incorrect UTF-8 string handling as described in https://github.com/mpastell/Weave.jl/issues/214.
pull/215/head
Konstantinos Samaras-Tsakiris 2019-06-04 21:02:40 +03:00 committed by GitHub
parent c9a814759d
commit ea1de0fb9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -256,7 +256,7 @@ end
function parse_input(input::AbstractString)
parsed = Tuple{AbstractString, Any}[]
input = lstrip(input)
n = length(input)
n = sizeof(input)
pos = 1 #The first character is extra line end
while pos n
oldpos = pos