I'm trying to use special characters (the ones that should start with an ampersand '&' and finish with semicolon ';') but I can't make it work. It only outputs the part after the ampersand. (eg: ' some text there')
This is part of the .policy
file I'm using.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
<policyconfig>
<vendor>Some text here & some text there</vendor>
<vendor_url>http://example.com/</vendor_url>
<action id="...">
...
</action>
</policyconfig>
Is there another way of encoding it?
There is a bug with PolicyKit.