Error in includelet '{{adp portlets/public-blog {package_id 2370 }}' of page en:main_page:
Syntax: adp <name of adp-file> {<argument list>}
Invalid argument list: 'portlets/public-blog {package_id 2370 '; must be of form: attribute value pairs (even number of elements)
}
The last "}" is there on purpose.
The includelet is: {{adp portlets/public-blog {package_id 2370 }}}
The weird thing is that this was working on a previous version of xowiki.
I changed the include regular expresion from:
include {([^\\]){{([^<]+?)}}(\s|<|$)?}
to
include {([^\\]){{([^<]+)}}(\s|<|$)?}
since I believe in this case you do want a greedy RE.
This fixed this particular issue and I can't think of any other situation where it wouldn't work, but I'd like to know if this is actually correct before using it in a production environment.
Thanks.
Request notifications