Commits

Mike Orr committed e215d8d

Docs.

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.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.