WikiPlugin: Strip tags from names given to RSLookup

This commit is contained in:
Max Weber
2019-02-15 08:20:43 -07:00
parent 06d4adc5e4
commit 65e9864552

View File

@@ -227,6 +227,8 @@ public class WikiPlugin extends Plugin
return;
}
name = Text.removeTags(name);
HttpUrl url = WIKI_RSLOOKUP.newBuilder()
.addQueryParameter("type", type)
.addQueryParameter("id", "" + id)