-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Periods not being stripped from names; breaks file extensions #89
Comments
Hi, thanks for the report ... I had a look at the code: the extension is appended and not the result of a string replacement which might have caused the issue. Could you send me or post your configuration, so that I can trace the bug? thanks |
Hi @avillafiorita,
And here are two of the problem items (in a YAML file in _data) that datapage_gen is trying to read:
I can send along more upon request. Thanks, |
I am trying to generate a number of pages for a list of event speakers. I am having issues when the speaker wishes their degree, i.e. "Ph.D." added as part of their name. The periods are not being stripped, and the result is that in writing the filename, the generator reaches the file extension prematurely, causing havoc in the filesystem. The rendered result is something like this:
FWIW, I'm not having issues when the "." is in the middle of the name (i.e. "Taylor A. Murphy" becoming "taylor-a.-murphy.html")
I could write my own name_expr, but then I'd give up all the sanitizing stuff you're already doing.
Is this by design, i.e. do we ever need "."s to appear in names? Or is this something that should be fixed?
The text was updated successfully, but these errors were encountered: