Browse files

Added scope limitation to h1 trigger.

H1 trigger would activate when inside an <h1> tag rather than tabbing into the content of said tag. By limiting the scope to eliminate it's use when already in a tag this behavior is prevented.
  • Loading branch information...
1 parent 7d9583a commit faa864ccf95a1e9aacff8a0a41b086e3fc9f584d Nathan Humble committed with infininight Nov 29, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Snippets/XHTML <h1>.plist
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "">
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
<string>&lt;h1 id="${1/[[:alpha:]]+|( )/(?1:_:\L$0)/g}"&gt;${1:$TM_SELECTED_TEXT}&lt;/h1&gt;</string>
- <string>text.html</string>
+ <string>text.html - meta.tag, text.html meta.tag &amp; R:punctuation.definition.tag.html</string>

0 comments on commit faa864c

Please sign in to comment.