title: Issue Replacing URL using JS
body: <p>I've been trying to swap out a link on a page using javascript and seem to have hit a wall. I believe the way my URL is encoded might be at fault.</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var a = document.querySelector('a[href="https://sis.harpercollege.edu/class-schedule/class-schedule.html?course=230&amp;subject=BIO&amp;term=202295&amp;_gl=1*1wa2tu7*_ga*MTA4NzY5ODQ3LjE2MjQ4ODM4NjY.*_ga_2575BXQHNN*MTY0OTY5MTI0NC4yNDYuMS4xNjQ5Njk1NDY0LjA"]');
  if (a) {
    a.setAttribute('href', 'https://sis.harpercollege.edu/class-schedule/class-schedule.html?course=130&amp;subject=BIO&amp;term=202295&amp;_gl=1*1wa2tu7*_ga*MTA4NzY5ODQ3LjE2MjQ4ODM4NjY.*_ga_2575BXQHNN*MTY0OTY5MTI0NC4yNDYuMS4xNjQ5Njk1NDY0LjA')
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;a title="View the schedule for BIO230 for Summer 2022" href="https://sis.harpercollege.edu/class-schedule/class-schedule.html?course=230&amp;amp;subject=BIO&amp;amp;term=202295&amp;amp;_gl=1*3cwusx*_ga*MTA4NzY5ODQ3LjE2MjQ4ODM4NjY.*_ga_2575BXQHNN*MTY0OTY5MTI0NC4yNDYuMS4xNjQ5Njk2MTkzLjA" target="_blank"&gt;Summer 2022&lt;/a&gt;</code></pre>
  </div>
  </div>
  </p>