Fix documentation links in CQL

Change-Id: I6ae063d8816470f82e16eeba9d7e30e9ea2b4a7e
diff --git a/templates/doc/ql/cql.html.ep b/templates/doc/ql/cql.html.ep
index 0f67fbd..cf580de 100644
--- a/templates/doc/ql/cql.html.ep
+++ b/templates/doc/ql/cql.html.ep
@@ -27,11 +27,6 @@
 
 <section id="References">
     <h3>References: </h3>
-    <p>searchRetrieve: Part 5. CQL: The Contextual Query Language version 1.0, OASIS,
-January 2013, <a
-    href="http://docs.oasis-open.org/search-ws/searchRetrieve/v1.0/os/part5-cql/searchRetrieve-v1.0-os-part5-cql.doc"
-    >http://docs.oasis- open.org/search-ws/searchRetrieve/v1.0/os/part5-cql/
-    searchRetrieve-v1.0-os-part5-cql.doc</a></p>
-    <p>CQL specification, <a href="https://www.loc.gov/standards/sru/cql/"
-    >https://www.loc.gov/standards/sru/cql/</a></p>
+    <p><%= doc_ext_link_to 'searchRetrieve: Part 5', "http://docs.oasis-open.org/search-ws/searchRetrieve/v1.0/os/part5-cql/searchRetrieve-v1.0-os-part5-cql.doc" %>.
+      <%= doc_ext_link_to 'CQL: The Contextual Query Language version 1.0', "https://www.loc.gov/standards/sru/cql/" %>, OASIS, January 2013</p>
 </section>