Commit 0ea4efe2 authored by Sven (Sbte)'s avatar Sven (Sbte) Committed by José Aliste
Browse files

Prevent crash of bibtex parser on quoted strings.

The callbacks are called with four parameters, not two.

parent 9c3953f9
......@@ -261,7 +261,7 @@ class BibTeXParser(object):
if token.type == Token.QUOTE:
self._state = self._QUOTED_STRING_VALUE
def _on_quoted_string_value(self, token):
def _on_quoted_string_value(self, token, file, issue_handler):
if token.type == Token.TEXT:
self._constant.value = token.value
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment