Skip to content

Commit 07f8e81

Browse files
committed
Anchor Citation hrefs when Highlight.js is not available
1 parent 46a7c03 commit 07f8e81

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152

153153
<link rel="stylesheet preload" as="style" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.10.0/styles/base16/equilibrium-gray-dark.min.css" integrity="sha512-wN0TNNUSxgNsFx8SS7XmxSSzbAE+EI/rpqRMUM9aK0DoWel1McANaLp3ItYJwLDHcnZY6tQl6iUatWAJ83Pa4w==" crossorigin referrerpolicy="no-referrer" />
154154
<script async src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.10.0/highlight.min.js" integrity="sha512-6yoqbrcLAHDWAdQmiRlHG4+m0g/CT/V9AGyxabG8j7Jk8j3r3K6due7oqpiRMZqcYe9WM2gPcaNNxnl2ux+3tA==" crossorigin referrerpolicy="no-referrer"
155-
onload="hljs.configure({languages:['python'], noHighlightRe: /^no-highlight$/}); hljs.highlightAll()"></script>
155+
onload="hljs.configure({languages:['python'], ignoreUnescapedHTML: true}); hljs.highlightAll()"></script>
156156

157157
<script async src='https://www.googletagmanager.com/gtag/js?id=G-QJH7PLMB12'></script><script>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);}gtag('js',new Date());gtag('config','G-QJH7PLMB12');</script>
158158
<!-- <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><script>(adsbygoogle = window.adsbygoogle || []).push({google_ad_client: "ca-pub-2900001379782823",enable_page_level_ads:true})</script>-->
@@ -615,8 +615,8 @@ <h3>Citation</h3>
615615
<pre><code class="text">@software{SAMBO,
616616
author = {Kernc},
617617
title = {SAMBO: Sequential and Model-Based Optimization: Efficient global optimization in Python},
618-
url = {https://sambo-optimization.github.io},
619-
doi = {https://doi.org/10.5281/zenodo.14461363},
618+
url = {<a href="https://sambo-optimization.github.io">https://sambo-optimization.github.io</a>},
619+
doi = {<a href="https://doi.org/10.5281/zenodo.14461363">https://doi.org/10.5281/zenodo.14461363</a>},
620620
year = {2024}
621621
}</code></pre>
622622
</section>

0 commit comments

Comments
 (0)