Skip to content

citry check's template differs from the render for a v-pre element that holds Citry values #517

Closed

Description

@JuroOravec

Found while reviewing #514. It predates that PR.

citry check compiles a template that should match what a render hands to Vue (packages/py/citry/citry/_vue/static_template.py). For a v-pre element that Vue reads as written, it does since #514. But when Citry compiles a v-pre element itself, because the element holds Citry values, the two still differ. For example:

<textarea v-pre>{{ title }}</textarea>
  • The render: drops v-pre from the element, writes its contents as one block of HTML, and keeps the v-citry-vue-owned marker, which Vue then reads as a directive. This is correct.
  • The check template: keeps v-pre and drops the marker.

The reviewer of #514 found 7 such cases that differ both before and after #514.

Done when

Activity

  1. added
    next-sprint
    and removed
    next-sprint
    on Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions