Closed (fixed)
Project:
Zen
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
30 Apr 2008 at 19:52 UTC
Updated:
14 May 2008 at 20:34 UTC
Jump to comment: Most recent file
For example, passing zen_id_safe('Übercart') would return "-bercart" which is not a valid ID in HTML. Valid IDs must start with A-Za-z.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | id-safe.patch | 1.55 KB | johnalbin |
| id-safe.patch | 1.52 KB | johnalbin |
Comments
Comment #1
johnalbinI realized the original reason it prepended "n" to IDs was that zen_id_safe only did that when the first char was numeric.
Prepending "n" to "-bercart" doesn't make much sense. Changing it to prepend "id".
Comment #2
johnalbinCommitted to HEAD and DRUPAL-5
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.