open-code-review icon indicating copy to clipboard operation
open-code-review copied to clipboard

BUG: Missing css style for inline and block codes

Open iredmail opened this issue 3 months ago • 2 comments

OpenCodeReview Version

v1.8.9

Operating System

macOS (Apple Silicon)

Installation Method

npm (global)

LLM Provider

Other OpenAI-compatible endpoint

Bug Description

Missing css style for inline and block codes. Check attached screenshot.

Image

Steps to Reproduce

Run ocr scan or ocr preview to trigger a code review.

Expected Behavior

Correctly render inline and block code.

Logs / Error Output


Additional Context

No response

iredmail avatar Aug 07 '26 00:08 iredmail

@iredmail Hi, I took a look into this issue.

The CSS styles are present, but v1.8.9 contains a syntax error in internal/viewer/static/session.js. This prevents the session rendering script from running, so inline and fenced code blocks are not converted into the elements targeted by the CSS.

This has been fixed on main in #754 (4861dab). v1.8.9 is still affected; a future release containing this fix should resolve the issue.

bailu-ZZ avatar Aug 07 '26 01:08 bailu-ZZ

Thanks for the update. Issue closed.

iredmail avatar Aug 07 '26 01:08 iredmail