diff options
-rw-r--r-- | zencoding-mode.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/zencoding-mode.el b/zencoding-mode.el index b8af1b6..e98176d 100644 --- a/zencoding-mode.el +++ b/zencoding-mode.el @@ -137,6 +137,11 @@ (defun zencoding-tag (input) "Parse a tag." + (let ((first-char (substring input 0 1))) + (if (or (string= "#" first-char) + (string= "." first-char)) + (setq input (concat "div" input)) + nil)) (zencoding-run zencoding-tagname (let ((tagname (cadr expr)) (has-body? (cddr expr))) |