quarto-dev / quarto-dev/quarto-cli
Confluence - duplicate image caption
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
Bug description
Figure captions are duplicated when publishing to Confluence.
Steps to reproduce
---
title: "Reproducible Quarto Document"
format: html
engine: jupyter
---
This image attachment leads to duplicate caption. One caption shows underneath the image and another shows as a new paragraph.

Rendering caption as alt-text does not lead to duplicate caption. The caption will only show underneath the image.
\
Expected behavior
There should be one caption for the image.
Actual behavior
The caption shows as duplicated.
If I add backslash to end of markdown line to render caption as alt-text, then only the caption directly underneath the image shows.
Your environment
- IDE: VSCode 1.92.2
- macOS Sonoma
Quarto check output
Quarto 1.5.56
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.2.0: OK
Dart Sass version 1.70.0: OK
Deno version 1.41.0: OK
Typst version 0.11.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.5.56
Path: /Applications/quarto/bin
[✓] Checking tools....................OK
TinyTeX: (not installed)
Chromium: (not installed)
[✓] Checking LaTeX....................OK
Tex: (not detected)
[✓] Checking basic markdown render....OK
[✓] Checking Python 3 installation....OK
Version: 3.11.9
Path: /Users/soneill/Projects/workflow-research/.venv/bin/python3
Jupyter: 5.7.2
Kernels: python3
[✓] Checking Jupyter engine render....OK
[✓] Checking R installation...........(None)
Unable to locate an installed version of R.
Install R from https://cloud.r-project.org/
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with the provided Quarto document and test_files/fake_image.png, publishing the result to Confluence. Trace the Confluence publishing entry point and compare the two caption-rendering cases; done means the image has exactly one caption without requiring alt-text syntax.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100