[Tree doc Tex] fix "-" char on place name (#961)

* fix "-" char on place name

"-" can lead to confusion, 
generating text out of the box
with PDF file format
This commit is contained in:
romjerome 2019-12-13 10:55:15 +01:00 committed by GitHub
parent 05f7744cba
commit aea9ef3645
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -519,6 +519,7 @@ class TreeDocBase(BaseDoc, TreeDoc):
date_str = date_str + '/' + stop_date
place = escape(_pd.display_event(db, event))
place = place.replace("-", "\--")
if modifier:
event_type += '+'