diff -Nur dotclear-2.1.5/inc/public/class.dc.template.php dotclear/inc/public/class.dc.template.php
--- dotclear-2.1.5/inc/public/class.dc.template.php	2009-03-02 00:51:44.000000000 +0100
+++ dotclear/inc/public/class.dc.template.php	2009-07-19 11:28:47.000000000 +0200
@@ -165,6 +165,7 @@
 		$this->addValue('EntryPingLink',array($this,'EntryPingLink'));
 		$this->addBlock('EntryPrevious',array($this,'EntryPrevious'));
 		$this->addValue('EntryTitle',array($this,'EntryTitle'));
+		$this->addValue('EscapedEntryTitle',array($this,'EscapedEntryTitle'));
 		$this->addValue('EntryTime',array($this,'EntryTime'));
 		$this->addValue('EntryURL',array($this,'EntryURL'));
 		
@@ -1690,6 +1691,15 @@
 	}
 	
 	/*dtd
+	<!ELEMENT tpl:EscapedEntryTitle - O -- Escaped Entry title -->
+	*/
+	public function EscapedEntryTitle($attr)
+	{
+		$f = $this->getFilters($attr);
+		return '<?php echo addslashes('.sprintf($f,'$_ctx->posts->post_title').'); ?>';
+	}
+	
+	/*dtd
 	<!ELEMENT tpl:EntryURL - O -- Entry URL -->
 	*/
 	public function EntryURL($attr)
