Skip to Content.
Sympa Menu

cc-devel - [cc-devel] encoding of ampersand in /support/jurisdictions

cc-devel AT lists.ibiblio.org

Subject: Developer discussion for Creative Commons technology and tools

List archive

Chronological Thread  
  • From: Turadg Aleahmad <turadg AT cmu.edu>
  • To: cc-devel AT lists.ibiblio.org
  • Subject: [cc-devel] encoding of ampersand in /support/jurisdictions
  • Date: Mon, 31 Aug 2009 18:34:05 -0400

I recently started using the "creativecommons" Drupal module that Blaise has been developing this summer.  Today I came across a bug that is rooted in CC's REST service (http://drupal.org/node/564816 ).

The output of the /support/jurisdictions call is HTML, but not fully to spec because it has a naked "&" character.  I guess it depends on what version of HTML is being returned.  HTML4 says & *should* be encoded as &amp;.  And if it's supposed to be XHTML, then it's necessary.

Specifically, I believe the output for "UK: England & Wales" should be "UK: England &amp; Wales". The 1.5 and dev versions both output the former.



  • [cc-devel] encoding of ampersand in /support/jurisdictions, Turadg Aleahmad, 08/31/2009

Archive powered by MHonArc 2.6.24.

Top of Page