Commits

Anonymous committed 0378f70

add 'endspaceless' template tag, oops

Comments (0)

Files changed (2)

Python Django Templates.tmbundle/Snippets/spaceless.tmSnippet

 	<key>content</key>
 	<string>{% spaceless %}
 	$1
-{% spaceless %}</string>
+{% endspaceless %}</string>
 	<key>name</key>
 	<string>spaceless</string>
 	<key>tabTrigger</key>

Python Django Templates.tmbundle/Syntaxes/HTML (Django).tmLanguage

 			<array>
 				<dict>
 					<key>match</key>
-					<string>\b(autoescape|endautoescape|block|endblock|blocktrans|endblocktrans|plural|debug|extends|filter|firstof|for|endfor|if|include|else|endif|ifchanged|endifchanged|ifequal|endifequal|ifnotequal|endifnotequal|load|now|regroup|ssi|spaceless|templatetag|widthratio)\b</string>
+					<string>\b(autoescape|endautoescape|block|endblock|blocktrans|endblocktrans|plural|debug|extends|filter|firstof|for|endfor|if|include|else|endif|ifchanged|endifchanged|ifequal|endifequal|ifnotequal|endifnotequal|load|now|regroup|ssi|spaceless|endspaceless|templatetag|widthratio)\b</string>
 					<key>name</key>
 					<string>keyword.control.django.template</string>
 				</dict>