Links in citation hover should open in new window, or as per link-external-newwindow
#7441
Labels
bibliography
bug
Something isn't working
html
Issues with HTML and related web technology (html/css/scss)
Milestone
Bug description
In HTML format, links in reference previews in hovers above citations open in the same tab/window.
Presumably the behaviour of reference links in hover previews should follow
link-external-newwindow
, perhaps without the box-arrow given the space limitation (also the user can see the URL directly so there is less need for indicating external links).Steps to reproduce
quarto create project website quarto-ref-links cd quarto-link
Create
references.bib
with a reference containing a URL or DOI, e.g.Edit index.qmd to use the references file and cite the reference:
Render to HTML. Click the DOI-based link in the hover tip over the citation.
Expected behavior
Presumably the behaviour of reference links in hover previews should follow
link-external-newwindow
, perhaps without the box-arrow given the space limitation (also the user can see the URL directly so there is less need for indicating external links).Actual behavior
Link opens in same window/tab.
Your environment
MacOS 14.0 (23A344)
No IDE used
Quarto check output
Quarto 1.4.398
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.1.8: OK
Dart Sass version 1.55.0: OK
Deno version 1.33.4: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.4.398
Path: /Applications/quarto/bin
[✓] Checking tools....................OK
TinyTeX: (external install)
Chromium: (not installed)
[✓] Checking LaTeX....................OK
Using: TinyTex
Path: /Users/petr/Library/TinyTeX/bin/universal-darwin
Version: 2022
[✓] Checking basic markdown render....OK
[✓] Checking Python 3 installation....OK
Version: 3.11.6
Path: /opt/homebrew/opt/python@3.11/bin/python3.11
Jupyter: 5.1.3
Kernels: python3, ir
() Checking Jupyter engine render....0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
[✓] Checking Jupyter engine render....OK
[✓] Checking R installation...........OK
Version: 4.3.1
Path: /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources
LibPaths:
- /Users/petr/Library/R/4.3/library
- /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library
knitr: 1.44
rmarkdown: 2.25
[✓] Checking Knitr engine render......OK
The text was updated successfully, but these errors were encountered: