Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Template tags: allow mixed quotes

Restricting the regexp to match the first detected quote allows 
syntax like {% trans "Don't end on the single quote" %} to be
highlighted as expected
  • Loading branch information...
commit cb7d6bcb385e938a95dacd644a0be1da9bcd662b 1 parent aef5299
@acdha acdha authored infininight committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 Syntaxes/HTML (Django).tmLanguage
View
4 Syntaxes/HTML (Django).tmLanguage
@@ -77,9 +77,9 @@
</dict>
<dict>
<key>begin</key>
- <string>'|"</string>
+ <string>('|")</string>
<key>end</key>
- <string>'|"</string>
+ <string>\1</string>
<key>name</key>
<string>string.other.django.template.tag</string>
</dict>
Please sign in to comment.
Something went wrong with that request. Please try again.