diff --git a/templates/default/consent.php b/templates/default/consent.php
index af9d738b0e1810c1b14f9068b5b12e1d81c1043f..7840852db55878c3849b2920e19089b2e8ed9b02 100644
--- a/templates/default/consent.php
+++ b/templates/default/consent.php
@@ -2,15 +2,15 @@
 	$this->includeAtTemplateBase('includes/header.php');
 	
 	$this->includeLanguageFile('consent.php'); 
-	$this->includeInlineTranslation('spname', $this->data['sp_name']);
+	$this->includeInlineTranslation('SPNAME', $this->data['sp_name']);
 	$this->includeInlineTranslation('IDPNAME', $this->data['idp_name']);
 	$this->includeInlineTranslation('SPDESC', $this->data['sp_description']);
 ?>
 
 	<div id="content">
 
-		<p><?php echo htmlspecialchars($this->t('consent_notice')); ?> <strong><?php echo htmlspecialchars($this->t('spname')); ?></strong>.
-		<?php echo htmlspecialchars($this->t('consent_accept', array('IDPNAME' => '', 'SPDESC' => ''))) ?>
+		<p>
+		<?php echo $this->t('consent_accept', array('SPNAME' => '', 'IDPNAME' => '', 'SPDESC' => '')) ?>
 		</p>
 
 		<?php if ($this->data['sppp'] !== FALSE) {