Details
-
Improvement
-
Resolution: Unresolved
-
Trivial
-
None
-
Previous versions in xwiki-platform
-
None
Description
Hello,
If I create a new FAQ with blank character between text and question mark, the FAQ page contain some space.
By example: "My FAQ ?" will be name "My FAQ++++++"
To fix it, you must replace this line of FAQCode/FAQHomeSheet:
#set ($question = $stringtool.stripEnd($stringtool.trim($!{request.question}), '?'))
by
#set ($question = $stringtool.stripEnd($stringtool.trim($!{request.question}), ' ?'))
Thxs
Pascal B