Skip to content

Commit 64b308f

Browse files
committed
comment
1 parent ac25ea4 commit 64b308f

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

bibtexparser/splitter.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,9 @@ def _is_escaped():
174174
# Handle "escape" characters
175175
if next_mark.group(0) == '"' and not num_open_curls > 0:
176176
# Check for {"} escape sequence when inside quotes (issue #487).
177-
# Per BibTeX spec, {"} represents a literal quote in a quoted field.
178-
# We verify this is a true escape by checking:
177+
# Per https://tug.ctan.org/info/bibtex/tamethebeast/ttb_en.pdf,
178+
# {"} represents a literal quote in a quoted field.
179+
# We verify this by checking:
179180
# 1. We're inside quotes
180181
# 2. The " is surrounded by { and }
181182
# 3. There's more content after the } (i.e., pos+2 is in bounds)

0 commit comments

Comments
 (0)