Index: openacs-4/packages/acs-core-docs/www/templates.html
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/templates.html,v
diff -u -r1.49.2.12 -r1.49.2.13
--- openacs-4/packages/acs-core-docs/www/templates.html	19 Nov 2016 09:21:55 -0000	1.49.2.12
+++ openacs-4/packages/acs-core-docs/www/templates.html	6 Jan 2017 09:18:42 -0000	1.49.2.13
@@ -8,7 +8,7 @@
 logic</em></span>. The intent is to have all of the logic related to
 manipulating the database and other application state data in one
 place, and all the logic related to displaying the state of the
-application in another place.  This gives developer&#39;s quicker
+application in another place.  This gives developer's quicker
 customization and easier upgrades, and also allows developers and
 graphic designers to work more independently.
 </p><p>
@@ -25,7 +25,7 @@
 In the overall context of our example OpenACS Notes application, this
 document will show you how to set up a simple templated page that
 displays a form to the user for entering new notes into the system. In
-later sections of the DG, we&#39;ll discuss how to develop the pages that
+later sections of the DG, we'll discuss how to develop the pages that
 actually add notes to the database, how to provide a separate instance
 of the Notes application to every user and how to design appropriate
 access control policies for the system.
@@ -35,8 +35,8 @@
 pages: one that displays a form for data entry, and another page that
 runs the code to update the database and tells the user whether the
 operation failed. In this document, we will use the template system to
-build the first of these pages. This isn&#39;t a very interesting use of
-the system since we won&#39;t be displaying much data, but we&#39;ll cover
+build the first of these pages. This isn't a very interesting use of
+the system since we won't be displaying much data, but we'll cover
 more on that end later.
 </p><p>
 The <code class="computeroutput">.tcl</code> file for the form entry template is pretty
@@ -80,14 +80,14 @@
 Some things to note about this code:
 </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>
 The procedure <a class="link" href="tcl-doc.html#tcl-doc-ad-page-contract" title="ad_page_contract">ad_page_contract</a> is
-always the first thing a <code class="computeroutput">.tcl</code> file calls, if it&#39;s under
+always the first thing a <code class="computeroutput">.tcl</code> file calls, if it's under
 the www/ directory (i.e. not a Tcl library file). It does validation
 of input values from the HTTP request (i.e. form variables) and in
 this case, the <code class="computeroutput">-properties</code> clause is used to set up the
 data sources that we will ship over to the <code class="computeroutput">.adp</code> part of
 the page. In this case, we only use the simplest possible kind of data
 source, called a <code class="computeroutput">onevalue</code>, which hold just a single
-string value.  Later on, we&#39;ll see how to use more powerful kinds of
+string value.  Later on, we'll see how to use more powerful kinds of
 data sources for representing multiple rows from an SQL query.  You
 also include overall documentation for the page in the contract, and
 OpenACS has automatic tools that extract this documentation and make it
@@ -149,7 +149,7 @@
 <span class="emphasis"><em>data sources</em></span> that are used by the display part of the page. The
 display part of the page is an <code class="computeroutput">.adp</code> file with some
 special tags and notations for dealing with display logic and
-inserting properties into the text of the page. Later on we&#39;ll get
+inserting properties into the text of the page. Later on we'll get
 into templates more deeply, and show how to use database queries as
 data sources.
 </p></div><div class="sect2"><div class="titlepage"><div><div><h3 class="title"><a name="templates-documentation"></a>Documentation</h3></div></div></div><p>