Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c6e9a5
)
fixed encoding of spaces in pulldown value
author
Jason Woofenden
<jason@jasonwoof.com>
Sun, 8 Nov 2009 20:26:44 +0000
(15:26 -0500)
committer
Jason Woofenden
<jason@jasonwoof.com>
Sun, 8 Nov 2009 20:28:13 +0000
(15:28 -0500)
encode.php
patch
|
blob
|
history
diff --git
a/encode.php
b/encode.php
index
63ff5ce
..
6afcd41
100644
(file)
--- a/
encode.php
+++ b/
encode.php
@@
-302,7
+302,7
@@
function encode_options($selected, $options, $keys_from) {
$out .= ' selected="selected"';
}
- if($value !== $display) {
+ if($value !== $display || strpos($value, ' ') !== false) {
$out .= ' value="';
$out .= enc_attr($value);
$out .= '"';