Skip to content

Commit

Permalink
Replace inner HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-montalvo committed Sep 9, 2024
1 parent cd3386c commit 022676c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions wcag2ict.js
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,7 @@ function furtherProcessNotesAndExamples() {
})
let wcag2ictExamples = document.querySelectorAll("div.example.wcag2ict");
wcag2ictExamples.forEach(example => {
example.textContent =example.textContent.replace("\n\nExample:", "\n\nExample (Added):");
console.log(example.textContent)
example.innerHTML = example.innerHTML.replace("Example:", "Example (Added):");
})
}
function finalCleanup() {
Expand Down

0 comments on commit 022676c

Please sign in to comment.