vcl-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jftho...@apache.org
Subject svn commit: r753437 - /incubator/vcl/trunk/web/.ht-inc/requests.php
Date Fri, 13 Mar 2009 21:40:14 GMT
Author: jfthomps
Date: Fri Mar 13 21:40:14 2009
New Revision: 753437

URL: http://svn.apache.org/viewvc?rev=753437&view=rev
Log:
VCL-85

modified AJupdate WaitTime to replace and apostrophes in the image description with '

Modified:
    incubator/vcl/trunk/web/.ht-inc/requests.php

Modified: incubator/vcl/trunk/web/.ht-inc/requests.php
URL: http://svn.apache.org/viewvc/incubator/vcl/trunk/web/.ht-inc/requests.php?rev=753437&r1=753436&r2=753437&view=diff
==============================================================================
--- incubator/vcl/trunk/web/.ht-inc/requests.php (original)
+++ incubator/vcl/trunk/web/.ht-inc/requests.php Fri Mar 13 21:40:14 2009
@@ -183,6 +183,7 @@
 	if(preg_match('/\w/', $imagenotes['description'])) {
 		$desc = preg_replace("/\n/", '<br>', $imagenotes['description']);
 		$desc = preg_replace("/\r/", '', $desc);
+		$desc = preg_replace("/'/", '&#39;', $desc);
 		print "dojo.byId('imgdesc').innerHTML = '<strong>Image Description</strong>:<br>";
 		print "$desc<br><br>'; ";
 	}



Mime
View raw message