Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xwiki-platform
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
XWiki
xwiki-platform
Commits
21906acb
Commit
21906acb
authored
3 years ago
by
Thomas Mortagne
Browse files
Options
Downloads
Patches
Plain Diff
XWIKI-19293: Fix bad escaping
parent
eed842a0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
xwiki-platform-core/xwiki-platform-filter/xwiki-platform-filter-ui/src/main/resources/Filter/FilterStreamDescriptorForm.xml
+2
-2
2 additions, 2 deletions
.../src/main/resources/Filter/FilterStreamDescriptorForm.xml
with
2 additions
and
2 deletions
xwiki-platform-core/xwiki-platform-filter/xwiki-platform-filter-ui/src/main/resources/Filter/FilterStreamDescriptorForm.xml
+
2
−
2
View file @
21906acb
...
@@ -58,9 +58,9 @@
...
@@ -58,9 +58,9 @@
<
dd
>
<
dd
>
## TODO: design a real framework to generate form by type
## TODO: design a real framework to generate form by type
#if (($descriptor.defaultValue || "$!descriptor.defaultValue" != '')
&&
($descriptor.type.getName() == 'boolean' || $descriptor.type.getName() == 'int' || $descriptor.type.getName() == 'java.lang.String'))
#if (($descriptor.defaultValue || "$!descriptor.defaultValue" != '')
&&
($descriptor.type.getName() == 'boolean' || $descriptor.type.getName() == 'int' || $descriptor.type.getName() == 'java.lang.String'))
<
input type="text" id="$descriptorId" name="$descriptorId" value="#if($request.get($descriptorId))$request.get($descriptorId)#else$descriptor.defaultValue#end"/
>
<
input type="text" id="$descriptorId" name="$descriptorId" value="#if($request.get($descriptorId))$
escapetool.xml($
request.get($descriptorId)
)
#else$descriptor.defaultValue#end"/
>
#else
#else
<
input type="text" id="$descriptorId" name="$descriptorId"#if($request.get($descriptorId))value="$request.get($descriptorId)"#end/
>
<
input type="text" id="$descriptorId" name="$descriptorId"#if($request.get($descriptorId))value="$
escapetool.xml($
request.get($descriptorId)
)
"#end/
>
#end
#end
<
/dd
>
<
/dd
>
#end
#end
...
...
This diff is collapsed.
Click to expand it.
Git Mirror User
@gitmirror
mentioned in commit
f31bf272
·
3 years ago
mentioned in commit
f31bf272
mentioned in commit f31bf272214f64d056fab75d698411502fcdc124
Toggle commit list
Git Mirror User
@gitmirror
mentioned in commit
a823f0c4
·
3 years ago
mentioned in commit
a823f0c4
mentioned in commit a823f0c4e52196845a646f44f577e716689b1f44
Toggle commit list
Git Mirror User
@gitmirror
mentioned in commit
d76684da
·
3 years ago
mentioned in commit
d76684da
mentioned in commit d76684dae3a8557e1c4d0c710a36d56323f10149
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment