Skip to content

Commit

Permalink
fix: Creating span label not closed (#15323)
Browse files Browse the repository at this point in the history
  • Loading branch information
17px authored Nov 7, 2023
1 parent 9333dd1 commit 54fa342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/static/js/code-block-buttons.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
copyButton.innerHTML =
'<div class="copyCodeButtonText">' +
'<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="12" height="12" viewBox="0 0 16 16" enable-background="new 0 0 16 16" xml:space="preserve"> <g id="clipboard_3_"> <g> <path fill-rule="evenodd" clip-rule="evenodd" d="M11,2c0-0.55-0.45-1-1-1h0.22C9.88,0.4,9.24,0,8.5,0S7.12,0.4,6.78,1H7 C6.45,1,6,1.45,6,2v1h5V2z M13,2h-1v2H5V2H4C3.45,2,3,2.45,3,3v12c0,0.55,0.45,1,1,1h9c0.55,0,1-0.45,1-1V3C14,2.45,13.55,2,13,2z "/> </g> </g> </svg>' +
'<span class="copyCodeButtonTextLabel">' + COPY_BUTTON_TEXT_LABEL + '<span>' +
'<span class="copyCodeButtonTextLabel">' + COPY_BUTTON_TEXT_LABEL + '</span>' +
'</div>';
return copyButton;
}
Expand Down

0 comments on commit 54fa342

Please sign in to comment.