Permalink
Browse files

CSS fix for placeholders

  • Loading branch information...
mikecrittenden committed Jul 1, 2010
1 parent 79a39b1 commit 9a09fb05e2466b31b4117ca6d3e5366c505c1a9c
Showing with 6 additions and 0 deletions.
  1. +6 −0 zencoding/zen_actions.py
View
@@ -263,6 +263,12 @@ def get_line(ix):
elif cur_char == '>' and next_char == '<':
# between tags
next_point = cur_point + 1
+ elif cur_char == ':' and next_char == ';':
+ # empty CSS value
+ next_point = cur_point + 1
+ elif cur_char == '(' and next_char == ')':
+ # empty CSS parenthesis
+ next_point = cur_point + 1
elif cur_char in '\r\n':
# empty line
if re.search(re_empty_line, get_line(cur_point - 1)):

0 comments on commit 9a09fb0

Please sign in to comment.