Skip to content

Commit

Permalink
process-html: update class name for license
Browse files Browse the repository at this point in the history
  • Loading branch information
myfreeer committed May 3, 2024
1 parent babcc4f commit 242f095
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mdn/process-html/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ export const preProcessHtml = async (
const $: CheerioStatic = res.meta.doc;
// keep the copyright notice
// class name updated on 2022
// class name updated again on 2024
$('#license.page-footer-legal-text')
.insertAfter($('.metadata-content-container>.last-modified-date'));
.insertAfter($('.article-footer-inner>.last-modified-date'));
preProcessRemoveElements($);
// the script containing inline data
let dataScript: Cheerio | null = null;
Expand Down

0 comments on commit 242f095

Please sign in to comment.