1

fixing broken tags on adding words, bumping version number

This commit is contained in:
Alex Yatskov 2013-02-22 19:11:17 -08:00
parent 5d02d7d728
commit 28943692a6
2 changed files with 2 additions and 2 deletions

View File

@ -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/',

View File

@ -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):