Document template keyword bug

I am trying to use document templates to provide paper forms with pre-printed patient demographics. Many customers want to stick to paper whenever possible.
The Who and Contact screens work well, but the Employer screen only shows 2 fields/keywords, instead of the 8 available: industry and occupation work well, but not these variables: em_name, em_street, em_city, em_state, em_city, em_state, em_postal_code and em_country. The keywords in my template are {DEM:em_name} and so on.
Maybe a coincidence, but the lower dash is the common factor for the not-working keywords. I verified this bug in my localhost and also in the online demo version of OpenEMR.
Did anyone find this bug before?
Is there a solution?
I’m using OpenEMR version 5.0.1. The error does not depend on my PC or browser.
Thanks!
Sergio

you can customize this script to bring in the employer table, openemr/download_template.php at master · openemr/openemr · GitHub

Sounds good! Thanks a lot…