protvista-uniprot 4.3.6 → 4.3.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "protvista-uniprot",
3
3
  "description": "ProtVista tool for the UniProt website",
4
- "version": "4.3.6",
4
+ "version": "4.3.8",
5
5
  "files": [
6
6
  "dist",
7
7
  "src"
@@ -246,7 +246,9 @@ const formatTooltip = (feature, taxId?: string) => {
246
246
  ${
247
247
  ref.properties['Universal Spectrum Id']
248
248
  ? `<li class="text-indent-2 nowrap margin-bottom">Universal Spectrum Id:
249
- <a href="http://proteomecentral.proteomexchange.org/usi/?usi=${ref.properties['Universal Spectrum Id']}" target="_blank">View on ProteomeXchange</a>
249
+ <a href="http://proteomecentral.proteomexchange.org/usi/?usi=${encodeURIComponent(
250
+ ref.properties['Universal Spectrum Id']
251
+ )}" target="_blank">View on ProteomeXchange</a>
250
252
  </li>`
251
253
  : ``
252
254
  }