Referenced footnotes appear to be functional. Inline still unimplemented.

This commit is contained in:
moshee 2013-06-26 16:09:27 +00:00
parent 7bdb82c53a
commit 8346559a1a

View File

@ -458,8 +458,8 @@ func (p *parser) isEmpty(data []byte) int {
}
var i int
for i = 0; data[i] != '\n'; i++ {
if data[i] != ' ' || data[i] != '\t' {
for i = 0; i < len(data) && data[i] != '\n'; i++ {
if data[i] != ' ' && data[i] != '\t' {
return 0
}
}