diff options
Diffstat (limited to 'zencoding-mode.el')
-rw-r--r-- | zencoding-mode.el | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/zencoding-mode.el b/zencoding-mode.el index b2338d7..609d7b8 100644 --- a/zencoding-mode.el +++ b/zencoding-mode.el @@ -181,15 +181,18 @@ it `((,(read name) "") . ,input)))))) - - (defun zencoding-prop-value (name input) - (zencoding-parse "=\\([^\\,\\+\\>\\ )]*\\)" 2 - "=property value" - (let ((value (elt it 1)) - (input (elt it 2))) - (message value) - `((,(read name) ,value) . ,input)))) + (zencoding-pif (zencoding-parse "=\"\\(.*?\\)\"" 2 + "=\"property value\"" + (let ((value (elt it 1)) + (input (elt it 2))) + `((,(read name) ,value) . ,input))) + it + (zencoding-parse "=\\([^\\,\\+\\>\\ )]*\\)" 2 + "=property value" + (let ((value (elt it 1)) + (input (elt it 2))) + `((,(read name) ,value) . ,input))))) (defun zencoding-tag-classes (tag input) (zencoding-run zencoding-classes |