Skip to content

[Bug] New <modified> tags are not rendered #139

Description

@JohannesBuchner

Describe the bug

Claude now outputs code like this:

<changes>
<change>
<file>megadifflike.py</file>
<description>Refactor: ...</description>
<original>def build_joint_bounds(param_info, lb, ub):
    """Build bounds for the full parameter vector."""</original>
<modified>def compute_physical_bounds(params_defs, sampler_paramnames):
    """Compute physical parameter bounds, adjusting for normal priors."""</modified>
</change>
<change>
    ....
</change>
</changes>

This is not rendered well in the interface:

Image

Expected behavior

Not sure what would be best, but easiest would probably be two divs with original and modified below each other.

Screenshots or logs

Environment

Anthropic Claude Opus 4.6

Confirmation

  • I have confirmed this bug exists on the latest version
  • I have searched through existing issues
  • I have checked the Network connection
  • I reproduced the bug couple of times to ensure the source of that

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions