munkiadmin
munkiadmin copied to clipboard
Smart Quotes in Package Description
This may be a Sierra 10.12.6 regression, but editing the Description field for a package and using quotes results in "smart quotes" being applied. This is normally not an issue, but will cause the pkginfo to generate an error in makecatalogs if the quotes are used inside a web link ex:
... < a href="apple.com/support"> apple.com/support< /a > ... Encountered unexpected character on line ## while looking for close tag in file ****
Opening the pkginfo in an alternate text editor (like TextWrangler) shows the "smart quotes" instead of the expected straight quotes. The brackets are properly converted to & lt; and & gt;
MA ver 1.5.0
MunkiAdmin tries hard to disable smart quotes but it's a constant struggle if they're not globally disabled in System Preferences:

Is it worth a note in the readme? I don't know if that setting is something easy checked for programmatically, but could an alert be written to recommend the user uncheck that preference?
I'm going to uncheck that preference on my work machine tomorrow