[drupal-devel] [bug] Do not encode apostrophes

chx drupal-devel at drupal.org
Thu Aug 18 05:04:37 UTC 2005


Issue status update for 
http://drupal.org/node/29103
Post a follow up: 
http://drupal.org/project/comments/add/29103

 Project:      Drupal
 Version:      cvs
 Component:    base system
 Category:     bug reports
 Priority:     critical
 Assigned to:  chx
 Reported by:  chx
 Updated by:   chx
 Status:       patch (code needs review)
 Attachment:   http://drupal.org/files/issues/check_plain.patch (567 bytes)

walkah complained that XML-RPC escapes apostrophes. Steven said it's OK
not to do so, so here is the patch. I am quoting the manual:


"It takes on one of three constants with the default being ENT_COMPAT:


ENT_COMPAT	Will convert double-quotes and leave single-quotes alone.
ENT_QUOTES	Will convert both double and single quotes.
ENT_NOQUOTES	Will leave both double and single quotes unconverted.


"


chx




More information about the drupal-devel mailing list