Commits

Mike Orr committed e215d8d

Docs.

  • Participants
  • Parent commits 6646acf

Comments (0)

Files changed (2)

 WebHelpers ChangeLog
 ====================
 
-1.2 (unreleased)
--------------------------
+1.3 (unreleased)
+----------------
+
+*No changes yet.*
+
+1.2 (2010-08-18)
+----------------
 
 * WebHelpers now depends on MarkupSafe. ``literal`` and ``escape`` now use it.
   

docs/whats_new.rst

 "MarkupSafe" package, which Mako and Pylons have also switched to.  MarkupSafe
 has a C speedup for escaping, escapes single-quotes for greater security (to
 close a potential XSS attack route), and adds new methods to ``literal``.
-**literal** is now a subclass of ``markupsafe.Markup``
-**escape** is ``markupsafe.escape_silent``
-(Note: ``escape_silent`` does not exist yet in MarkupSafe 0.9.3, but
-WebHelpers has a fallback.)
+**literal** is now a subclass of ``markupsafe.Markup``;
+**escape** is a wrapper for ``markupsafe.escape_silent``.
 
 *webhelpers.html.tags:* The ``text()`` helper has a "type" argument for new
 HTML 5 input types.
 
-*webhelpers.html.tags:* **Don't add an "id" attribute to hidden fields
-generated by the ``form()`` helper**: the IDs clash if there are multiple forms
-on the page. To create a hidden field with an ID, call ``hidden()`` directly.
+*webhelpers.html.tags:* **No longer adds an "id" attribute to hidden fields
+generated by the ``form()`` helper**, to prevent IDs from clashing if the page
+contains multiple forms. To create a hidden field with an ID, call ``hidden()``
+directly.
 
 *webhelpers.util:* ``update_params`` now supports query parameters with
 multiple values.