fixing broken tags on adding words, bumping version number
This commit is contained in:
parent
5d02d7d728
commit
28943692a6
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
constants = {
|
constants = {
|
||||||
'version': '0.06b',
|
'version': '0.07b',
|
||||||
|
|
||||||
'urlUpdates': 'http://foosoft.net/pub/projects/yomichan/updates.xml',
|
'urlUpdates': 'http://foosoft.net/pub/projects/yomichan/updates.xml',
|
||||||
'urlHomepage': 'http://foosoft.net/yomichan/',
|
'urlHomepage': 'http://foosoft.net/yomichan/',
|
||||||
|
@ -118,7 +118,7 @@ def buildFactMarkupReading(reading, glossary, sentence=None):
|
|||||||
|
|
||||||
|
|
||||||
def splitTags(tags):
|
def splitTags(tags):
|
||||||
return re.split('[;,\s]', tags)
|
return filter(lambda tag: tag.strip(), re.split('[;,\s]', tags))
|
||||||
|
|
||||||
|
|
||||||
def convertDefinitions(definitions, sentence=None):
|
def convertDefinitions(definitions, sentence=None):
|
||||||
|
Loading…
Reference in New Issue
Block a user