 			Nothing matched <strong>#publication_title#</strong>
 		<cfelseif getPub.recordcount is 1>
 			<script>
-				useThisOne('#getPub.publication_id#','#getPub.short_citation#');
+				useThisOne('#getPub.publication_id#','#replace(getPub.short_citation,"'","`","all")#');
 			</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(frm);
		var o=opener.document;

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