mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
928eaca4a4
Links such as []{pokemon:mewthree} can come from users, so they should not crash the parser. So, when an object is not found (or more than one is found), call identifier_url() directly, instead of failing to get the object for object_url(). Essentially, treat the link as having an unknown category (like mechanic:, currently). The test that check the pokédex descriptions updated so that only links to known objects and "mechanic:" are allowed. |
||
---|---|---|
.. | ||
data/csv | ||
db | ||
struct | ||
tests | ||
util | ||
__init__.py | ||
compatibility.py | ||
defaults.py | ||
formulae.py | ||
lookup.py | ||
main.py | ||
roomaji.py |