Permalink
Browse files

Merge pull request #49 from jenkins-infra/develop

Be more accepting of the plugin macro
  • Loading branch information...
daniel-beck committed Mar 8, 2018
2 parents 84e388e + 51c7b5c commit 237e27dae2b47a3d74ff65a89ee525ae681936c3
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 237e27d

Please sign in to comment.