quarto-dev / quarto-dev/quarto-cli

Confluence - duplicate image caption

Open
#10,705 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug publishing-confluence
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.

![Fake image](test_files/fake_image.png)

Rendering caption as alt-text does not lead to duplicate caption. The caption will only show underneath the image.

![Fake image](test_files/fake_image.png)\
Expected behavior

There should be one caption for the image.

Actual behavior

The caption shows as duplicated.

image

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.