]> git.openstreetmap.org Git - nominatim.git/commit
move quoting hack to wiki loader
authorSarah Hoffmann <lonvia@denofr.de>
Mon, 30 May 2022 12:32:36 +0000 (14:32 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Mon, 30 May 2022 12:40:33 +0000 (14:40 +0200)
commite828d0d3f79400b3f3541b38d3a7d4de5d9cfc35
tree94237586387f30263e7beff69f00e979d0e845a8
parentcce0e5ea38fe3466e157651e789554d99fbdc8fe
move quoting hack to wiki loader

The bad quotes around the type for special phrases
specifically occure in the Wiki pages, so it should be
removed by the loader and not in the generic SpecialPhrase
object.
nominatim/tools/special_phrases/sp_wiki_loader.py
nominatim/tools/special_phrases/special_phrase.py
test/python/tools/test_sp_wiki_loader.py
test/testdata/special_phrases_test_content.txt