Quotation._format_position: do not treat page numbers as integers
Fixes: #3352
This commit is contained in:
parent
f844abcad9
commit
df78cc64a6
2 changed files with 1 additions and 3 deletions
|
@ -395,7 +395,7 @@ class Quotation(BookStatus):
|
|||
end = self.endposition or 0
|
||||
if self.position_mode != "PG" or not beg:
|
||||
return None
|
||||
return f"pp. {beg}-{end}" if end > beg else f"p. {beg}"
|
||||
return f"pp. {beg}-{end}" if end else f"p. {beg}"
|
||||
|
||||
@property
|
||||
def pure_content(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue