@import scaladex.core.model.Artifact
@import scaladex.core.model.Env

@(artifact: Artifact, env: Env)
<div class="box badge-showcase">
  <h4>Markdown Badge</h4>
  <div style="overflow: hidden">
  <a href="#badge-markdown">
    <img src="@artifact.badgeUrl(env)" />
  </a>
  </div>
  <div id="badge-markdown" class="overlay">
    <div class="popup">
      <h2>Create badge</h2>
      <a class="close" href="#">&times;</a>

      <div class="content">
        <img src="@artifact.badgeUrl(env)" />
        <div>
          <h5>Markdown:</h5>
          <pre
          aria-label="Badge markdown"
          id="copy-badge-markdown"
          class="copyable-incantation"
          >[![@artifact.artifactName Scala version support](@artifact.badgeUrl(env)](@artifact.artifactFullHttpUrl(env)</pre>
          <button class="btn-copy btn btn-primary pull-right" data-clipboard-target="copy-badge-markdown">Copy Markdown</button>
        </div>
      </div>
    </div>
  </div>

</div>
@import scaladex.core.model.Artifact
@import scaladex.core.model.Env

@(artifact: Artifact, env: Env)
<div class="box badge-showcase">
  <h4>Markdown Badge</h4>
  <div style="overflow: hidden">
  <a href="#badge-markdown">
    <img src="@artifact.badgeUrl(env)" />
  </a>
  </div>
  <div id="badge-markdown" class="overlay">
    <div class="popup">
      <h2>Create badge</h2>
      <a class="close" href="#">&times;</a>

      <div class="content">
        <img src="@artifact.badgeUrl(env)" />
        <div>
          <h5>Markdown:</h5>
          <pre
          aria-label="Badge markdown"
          id="copy-badge-markdown"
          class="copyable-incantation"
          >[![@artifact.artifactName Scala version support](@artifact.badgeUrl(env))](@artifact.artifactFullHttpUrl(env))</pre>
          <button class="btn-copy btn btn-primary pull-right" data-clipboard-target="copy-badge-markdown">Copy Markdown</button>
        </div>
      </div>
    </div>
  </div>

</div>
Fix 'Create Badge' markdown closing-bracket typos
Fix 'Create Badge' markdown closing-bracket typos

The 'Create Badge' function was introduced with
https://github.com/scalacenter/scaladex/pull/670, but unfortunately a
small typo was introduced with https://github.com/scalacenter/scaladex/pull/705,
removing two closing brackets on the markdown the user will copy - so
instead of this:

[![play-v28 Scala version support](https://index.scala-lang.org/guardian/play-secret-rotation/play-v28/latest-by-scala-version.svg)](https://index.scala-lang.org/guardian/play-secret-rotation/play-v28)

...there's this broken markdown:

[![play-v28 Scala version support](https://index.scala-lang.org/guardian/play-secret-rotation/play-v28/latest-by-scala-version.svg](https://index.scala-lang.org/guardian/play-secret-rotation/play-v28
