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

XCOMMONS-2534: Provide a method to escape content passed to wiki macro list parameters #285

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

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