Skip to content

Commit

Permalink
Remove extraneous anchor displayed below each title (#1640)
Browse files Browse the repository at this point in the history
  • Loading branch information
sridamul committed Mar 3, 2024
1 parent 8eecd24 commit 4887960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/gatsby-source-jenkinsplugins/utils.mjs
Expand Up @@ -110,7 +110,7 @@ const getPluginContent = async ({wiki, pluginName, reporter, createNode, createC
const data = await requestGET({reporter, url: `${API_URL}/plugin/${pluginName}`});

const $ = load(data.wiki.content);
$('a.anchor[href^="#"]').remove();
$('a[href^="#"].anchor-element').remove();
data.wiki.content = $.html();

return createWikiNode('text/pluginhtml', wiki.url, data.wiki.content);
Expand Down

0 comments on commit 4887960

Please sign in to comment.