diff --git a/docs/simplesamlphp-reference-idp-hosted.md b/docs/simplesamlphp-reference-idp-hosted.md
index 6bf36bcc356415a62e47b674c63107122ee09ee8..0e5cb6298e92a0ba1f393c4d9961955345b81335 100644
--- a/docs/simplesamlphp-reference-idp-hosted.md
+++ b/docs/simplesamlphp-reference-idp-hosted.md
@@ -143,14 +143,14 @@ Common options
 		'contacts' => array(
 		    array(
 		        'contactType'       => 'other',
-		        'emailAddress'      => 'abuse@example.org',
+		        'emailAddress'      => 'mailto:abuse@example.org',
 		        'givenName'         => 'John',
 		        'surName'           => 'Doe',
 		        'telephoneNumber'   => '+31(0)12345678',
 		        'company'           => 'Example Inc.',
 		        'attributes'        => array(
 		            'xmlns:remd'        => 'http://refeds.org/metadata',
-		            'remd:contactType   => 'http://refeds.org/metadata/contactType/security',
+		            'remd:contactType'  => 'http://refeds.org/metadata/contactType/security',
 		        ),
 		    ),
 		),