Commit 95baeb3f authored by inso's avatar inso
Browse files

Fix handling of line endings in revocations docs

parent 213560bb
......@@ -38,7 +38,9 @@ module.exports = new function() {
raw += "IdtyUniqueID: " + json.uid + '\n';
raw += "IdtyTimestamp: " + json.buid + '\n';
raw += "IdtySignature: " + json.sig + '\n';
raw += json.revocation + '\n';
if (json.revocation) {
raw += json.revocation + '\n';
}
return dos2unix(raw);
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment