jhudsl / ottrpal

Tools for converting OTTR courses into Leanpub or Coursera courses :otter:
https://jhudatascience.org/ottrpal/
GNU General Public License v3.0
3 stars 1 forks source link

Get rid of special characters in file names #107

Closed cansavvy closed 2 years ago

cansavvy commented 2 years ago

Purpose/implementation Section

What changes are being implemented in this Pull Request?

Leanpub doesn't like them and it won't publish .md files with question marks or etc in the name. See https://github.com/jhudsl/OTTR_Template/issues/545

This will close https://github.com/jhudsl/OTTR_Template/issues/545

Just adding a simple gsub() step to remove those special characters completely.

cansavvy commented 2 years ago

Yup. This should do it.