Skip to content

Don't prepend namespace if it already exists in jelly #190

@timja

Description

@timja

What Operating System are you using?

.

Which IntelliJ IDEA version are you using?

2024.2.4

Reproduction steps

  1. Example code:
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:l="/lib/layout" xmlns:f="/lib/form">
  <f:readOnlyTextbox value="${it.publicIP}"/>
</jelly>

Select the readOnlyTextbox and type 'text', select textbox.
You will now have an extra namespace added:

<f:f:textbox value="${it.publicIP}"/>

Expected Results

<f:textbox value="${it.publicIP}"/>

Actual Results

<f:f:textbox value="${it.publicIP}"/>

Stack trace

No response

Anything else?

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions