 				<cfloop query="getPub">
 					<tr>
 						<td>
-							<span class="likeLink" onclick="useThisOne('#publication_id#','#short_citation#');">
+							<span class="likeLink" onclick="useThisOne('#publication_id#','#replace(getPub.short_citation,"'","`","all")#');">
 								#short_citation#
 							</span>
 							<blockquote>

			Nothing matched <strong>#publication_title#</strong>
		<cfelseif getPub.recordcount is 1>
			<script>
				useThisOne('#getPub.publication_id#','#getPub.short_citation#');
			</script>
		<cfelse>
			<table border>

<script>
	function useThisOne(pid,ps){

		parent.$("###pubIdFld#").val(pid);
		parent.$("###pubStringFld#").val(ps);
		parent.$(".ui-dialog-titlebar-close").trigger('click');
<!------	console.log(pid);
		console.log(ps);
		ps=ps.replace("'","`");
		console.log(ps);


			/*
		console.log(frm);
		var o=opener.document;
