mirror of
https://github.com/wakatime/sublime-wakatime.git
synced 2023-08-10 21:13:02 +03:00
upgrade wakatime-cli to v3.0.5
This commit is contained in:
parent
1bea7cde8c
commit
56f54fb064
@ -3,6 +3,12 @@ History
|
|||||||
-------
|
-------
|
||||||
|
|
||||||
|
|
||||||
|
3.0.5 (2015-01-13)
|
||||||
|
++++++++++++++++++
|
||||||
|
|
||||||
|
- ignore errors from malformed markup (too many closing tags)
|
||||||
|
|
||||||
|
|
||||||
3.0.4 (2015-01-06)
|
3.0.4 (2015-01-06)
|
||||||
++++++++++++++++++
|
++++++++++++++++++
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
|
||||||
__title__ = 'wakatime'
|
__title__ = 'wakatime'
|
||||||
__version__ = '3.0.4'
|
__version__ = '3.0.5'
|
||||||
__author__ = 'Alan Hamlett'
|
__author__ = 'Alan Hamlett'
|
||||||
__license__ = 'BSD'
|
__license__ = 'BSD'
|
||||||
__copyright__ = 'Copyright 2014 Alan Hamlett'
|
__copyright__ = 'Copyright 2014 Alan Hamlett'
|
||||||
|
@ -120,7 +120,11 @@ class HtmlDjangoParser(TokenParser):
|
|||||||
|
|
||||||
def _process_tag(self, token, content):
|
def _process_tag(self, token, content):
|
||||||
if content.startswith('</') or content.startswith('/'):
|
if content.startswith('</') or content.startswith('/'):
|
||||||
self.tags.pop(0)
|
try:
|
||||||
|
self.tags.pop(0)
|
||||||
|
except IndexError:
|
||||||
|
# ignore errors from malformed markup
|
||||||
|
pass
|
||||||
self.getting_attrs = False
|
self.getting_attrs = False
|
||||||
elif content.startswith('<'):
|
elif content.startswith('<'):
|
||||||
self.tags.insert(0, content.replace('<', '', 1).strip().lower())
|
self.tags.insert(0, content.replace('<', '', 1).strip().lower())
|
||||||
|
Loading…
Reference in New Issue
Block a user