MartinPacker / md2pptx

Markdown To PowerPoint converter
MIT License
222 stars 35 forks source link

FIX: German Umlauts #14

Closed 42sol-eu closed 4 years ago

42sol-eu commented 4 years ago

Suggestion to add in def parseText(text):

    # Replace certain entity references with actual characters
    text2 = text2.replace("ä", "ä")
    text2 = text2.replace("Ä", "Ä")
    text2 = text2.replace("ü", "ü")
    text2 = text2.replace("Ü", "Ü")
    text2 = text2.replace("ö", "ö")
    text2 = text2.replace("Ö", "Ö")
    text2 = text2.replace("ß", "ß")
    text2 = text2.replace("€", "€")
MartinPacker commented 4 years ago

Seems good to me. Let me see if I get time for it today.

I never thought the symbols I give that treatment to was an exhaustive list.

MartinPacker commented 4 years ago

Done and the User Guide updated with the new Entity References. It's merged to the master branch.