Skip to content

Conversation

@manuelleduc
Copy link
Contributor

@manuelleduc manuelleduc commented Oct 5, 2022

* @since 14.9RC1
*/
@Unstable
public XWiki21EscapeTool getXwiki21()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: it's XWiki:)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not if we want to be able to write $escapetool.xwiki21.parameterArray in velocity right?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed (https://velocity.apache.org/engine/2.0/user-guide.html#property-lookup-rules), getxwiki21() would work too but it's not better.

Copy link
Member

@vmassol vmassol Oct 5, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe just put a comment to explain it's not a typo but that it's for being able to write $escapetool.xwiki21. from Velocity.

@vmassol
Copy link
Member

vmassol commented Oct 5, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants