Permalink
Browse files

Merge pull request #48 from daniel-beck/selector

Sometimes it's a table, sometimes it's a span
  • Loading branch information...
daniel-beck committed Mar 8, 2018
2 parents a5bd4be + be4d065 commit 51c7b5cdd00caa79a6ddd8a31d1484f3bf015b74
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/io/jenkins/plugins/services/impl/HttpClientWikiService.java
@@ -116,7 +116,7 @@ public String cleanWikiContent(String content, String url) throws ServiceExcepti
}
final Element wikiContent = elements.first();
// Remove the entire span at the top with the "Plugin Information" inside
final Element topPluginInformation = wikiContent.select("table.conf-macro.output-inline th :contains(Plugin Information)").first();
final Element topPluginInformation = wikiContent.select(".conf-macro.output-inline th :contains(Plugin Information)").first();
if (topPluginInformation != null) {
Element element = topPluginInformation;
while (!element.tagName().equals("table")) {

0 comments on commit 51c7b5c

Please sign in to comment.