Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XML formatting bug #169

Open
gforcada opened this issue May 13, 2024 · 1 comment
Open

XML formatting bug #169

gforcada opened this issue May 13, 2024 · 1 comment
Assignees
Labels

Comments

@gforcada
Copy link
Member

I have this workflow definition that zpretty insists in leaving as you see below:

  <state state_id="published"
         title="Published"
         i18n:attributes="title"
  >
    <exit-transition transition_id="hide" />
    <exit-transition transition_id="archive" />
    <permission-map acquired="True"
                    name="Access contents information"
    >
</permission-map>
    <permission-map acquired="True"
                    name="View"
    >
</permission-map>
    <permission-map acquired="True"
                    name="Copy or Move"
    >
      <permission-role>Manager</permission-role>
      <permission-role>editor</permission-role>
    </permission-map>
  </state>

Note how the closing </permission-map> are not indented where they should 🤷🏾

Any idea how to fix this? 🤔

@ale-rt
Copy link
Member

ale-rt commented May 13, 2024

I see that :) I will have a look

@ale-rt ale-rt self-assigned this May 13, 2024
@ale-rt ale-rt added the bug label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants