315234 Posted November 15, 2013 Share Posted November 15, 2013 (edited) For example <items> <item> <title>a – dash</title> </item> </items> Shouldn't every character except <, > and & be accepted in XML? If not, how should I be escaping these? Thanks EDIT: Apologies, it was a python 3 issue (LANG environment variable not set inside Alfred). But where do the scripts run in script filter get their environment variables from? Edited November 15, 2013 by 315234 Link to comment
jdfwarrior Posted November 16, 2013 Share Posted November 16, 2013 For example <items> <item> <title>a – dash</title> </item> </items> Shouldn't every character except <, > and & be accepted in XML? If not, how should I be escaping these? Thanks EDIT: Apologies, it was a python 3 issue (LANG environment variable not set inside Alfred). But where do the scripts run in script filter get their environment variables from? Alfred doesn't import your profile when running scripts so you would need to take precautions when working on items that require the use of environment variables Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now