arXiv / arXiv/html_feedback

Code in figures loses whitespace

Open
#6,632 1 comment 0 reactions 0 assignees View on GitHub
bug listings needs-latex-package
Dominant language
No language data
Stars
42
Forks
40
PR merge metrics
No merged PRs in 30d

Description

### Description

Code that is in a table or figure can lose indentation and newlines in HTML view, making it difficult to read.

HTML view:
Image

Original PDF:

Image

---
HTML id location: lstnumberx5.3

### (Optional:) Please add any files, screenshots, or other information here.

_No response_

### (Required) What is this issue most closely related to? Select one.

Figures

### Internal issue ID

60b8a2ee-4193-4cc1-8b22-f266aeb069ff

### Paper URL

https://arxiv.org/html/2605.03143v1

### Browser

Chrome/149.0.0.0

### Device Type

Desktop

Contributor guide

Open the contributing guide

Research direction

Open the paper URL and compare the HTML view with the original PDF, focusing on the element with id lstnumberx5.3 inside the figure or table. Trace how that code is represented in the HTML and determine where indentation and newlines are lost. Done means the HTML view preserves the code's whitespace and remains readable.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.