Skip to content

Commit

Permalink
CSS fix for placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
crittermike committed Jul 1, 2010
1 parent 79a39b1 commit 9a09fb0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions zencoding/zen_actions.py
Expand Up @@ -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)):
Expand Down

0 comments on commit 9a09fb0

Please sign in to comment.