diff --git a/src/wm/title.rs b/src/wm/title.rs index 2f37752..31d0721 100644 --- a/src/wm/title.rs +++ b/src/wm/title.rs @@ -115,6 +115,12 @@ impl Title { return Err(ParseTitleError::TitleLong); } + // TODO: titles have a number of restrictions, including containing percent-encoded characters + // See + + // TODO: special titles in "namespaces" start with a word and colon. They should not be linked from OSM. + // See + let lang = lang.trim(); if lang.is_empty() { return Err(ParseTitleError::NoLang);