Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Figures lose their captions and crossref in list block #5317

Closed
PeterWang-dev opened this issue Apr 26, 2023 · 2 comments · Fixed by #5318
Closed

[Bug] Figures lose their captions and crossref in list block #5317

PeterWang-dev opened this issue Apr 26, 2023 · 2 comments · Fixed by #5318
Assignees
Labels
bug Something isn't working figures regression Functionality that used to work but now is broken.

Comments

@PeterWang-dev
Copy link

PeterWang-dev commented Apr 26, 2023

In a list block, figures lose their captions and crossrefs are not valid.

@jjallaire
Copy link
Collaborator

Could you provide a minimum reproducible example of this behavior? Also, please let us know the version of Quarto you are running on.

@PeterWang-dev
Copy link
Author

Could you provide a minimum reproducible example of this behavior? Also, please let us know the version of Quarto you are running on.

  • Version: 1.3.340

  • Reproduce:

    - test
    
      ![figure](./figure.png){#fig-figure1}
    
    ![figure2](./figure.png){#fig-figure2}
    
    @fig-figure1 test @fig-figure2

    Just replace the ./figure.png to your figure and you can see the warning out of box.

@cscheid cscheid self-assigned this Apr 26, 2023
@cscheid cscheid transferred this issue from quarto-dev/quarto Apr 26, 2023
@cscheid cscheid added backport bug Something isn't working regression Functionality that used to work but now is broken. labels Apr 26, 2023
@cscheid cscheid added this to the Hot-fix milestone Apr 26, 2023
@cscheid cscheid removed the backport label Apr 26, 2023
@cscheid cscheid removed this from the Hot-fix milestone Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working figures regression Functionality that used to work but now is broken.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants