arXiv / html_feedback

Supports a student project developing a UI for feedback on arXiv articles rendered as html.
MIT License
14 stars 2 forks source link

Minted not rendered in HTML #1575

Open PhilippStraubinger opened 1 week ago

PhilippStraubinger commented 1 week ago

Description

All text using the minted environment are not correctly rendered in the HTML version of the paper.

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

No response

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

Formula

Internal issue ID

3781491d-cafa-4ab5-9973-c5afea3bf607

Paper URL

https://services.arxiv.org/html/submission/5687069/view

Browser

Chrome/126.0.0.0

Device Type

Desktop

html-feedback-bot[bot] commented 1 week ago

Location in document: S1.p4.1.1.2.1

Selected HTML: \FancyVerbBreakStartpublic\FancyVerbBreakStop \FancyVerbBreakStartstatic\FancyVerbBreakStop \FancyVerbBreakStartdouble\FancyVerbBreakStop \FancyVerbBreakStartscore\FancyVerbBreakStop\FancyVerbBreakStart(\FancyVerbBreakStop\FancyVerbBreakStartChessBoard\FancyVerbBreakStop \FancyVerbBreakStartboard\FancyVerbBreakStop\FancyVerbBreakStart)\FancyVerbBreakStop \FancyVerbBreakStart{\FancyVerbBreakStop  \FancyVerbBreakStartColor\FancyVerbBreakStop \FancyVerbBreakStarthColor\FancyVerbBreakStop \FancyVerbBreakStart=\FancyVerbBreakStop \FancyVerbBreakStartboard\FancyVerbBreakStop\FancyVerbBreakStart.\FancyVerbBreakStop\FancyVerbBreakStartgetHumanColor\FancyVerbBreakStop\FancyVerbBreakStart();\FancyVerbBreakStop  \FancyVerbBreakStart// Method logic...\FancyVerbBreakStop\FancyVerbBreakStart}\FancyVerbBreakStopA better solution is to use defensive programming by checking parameter objects for \FancyVerbBreakStartnull\FancyVerbBreakStop values before working with them. The defensive null check code perfume acknowledges if learners correctly apply this approach by checking whether the \FancyVerbBreakStartChessBoard\FancyVerbBreakStop object is \FancyVerbBreakStartnull\FancyVerbBreakStop at the beginning of the method, and if so reacting with an \FancyVerbBreakStartIllegalArgumentException\FancyVerbBreakStop :

github-actions[bot] commented 1 week ago

Hello @PhilippStraubinger, thanks for the issue report! We are reviewing your report and will address it as soon as possible.