<div class="pio pio-template-root pio-versions">
  <p class="version-wrapper">
    <span class="ide-version version">
      IDE <a href="https://github.com/platformio/platformio/blob/develop/HISTORY.rst">
        <code class="version-string">loading...</code><!-- Removing whitespace
      --></a>
    </span>
    |
    <span class="cli-version version">
      CLI <a href="https://github.com/platformio/platformio-atom-ide/blob/develop/HISTORY.md">
        <code class="version-string">loading...</code><!-- Removing whitespace
      --></a>
    </span>
    <span class="icon icon-clippy version-copy"></span>
  </p>
  <div class="upgrade-wrapper">
    <span>Version <span class="new-version"></span> of PlatformIO CLI is available.</span>
    <button class="btn btn-primary do-upgrade">Upgrade NOW!</button>
  </div>
</div>

<div class="pio pio-template-root pio-versions">
  <p class="version-wrapper">
    <span class="ide-version version">
      IDE <a href="https://github.com/platformio/platformio-atom-ide/blob/develop/HISTORY.md">
        <code class="version-string">loading...</code><!-- Removing whitespace
      --></a>
    </span>
    |
    <span class="cli-version version">
      CLI <a href="https://github.com/platformio/platformio/blob/develop/HISTORY.rst">
        <code class="version-string">loading...</code><!-- Removing whitespace
      --></a>
    </span>
    <span class="icon icon-clippy version-copy"></span>
  </p>
  <div class="upgrade-wrapper">
    <span>Version <span class="new-version"></span> of PlatformIO CLI is available.</span>
    <button class="btn btn-primary do-upgrade">Upgrade NOW!</button>
  </div>
</div>

Fix HISTORY links for versions
Fix HISTORY links for versions
