Project

General

Profile

« Previous | Next » 

Revision 14803

bugfix: lib/tnrs.py: encode_map: also need to encode + because TNRS removes it from the morphospecies (vegpath.org/wiki/CVS_validation#Bobs-revised-document > issue #4)

View differences:

trunk/lib/tnrs.py
102 102
    ('"', ' !quo '), # TNRS removes it when at the beginning or end
103 103
    ('%', ' !pct '), # TNRS URL-decodes it in matched fields
104 104
    ("'", ' !apo '), # TNRS removes it when at the beginning or end
105
    ('+', ' !plus '), # TNRS removes it from the morphospecies
105 106
    (';', ' !sem '), # changes TNRS response format
106 107
    ('\\', ' !bsl '), # TNRS removes it
107 108
    ('_', ' !und '), # TNRS replaces with " "

Also available in: Unified diff