Dynamic Filename in PDF

I think there is a issue when report output name file is generated from a HTML Template

If i use a syntax like ${Root.test.titleParam} in a DOCX template the variable replacement works fine, if i use a HTML template with same code i get the following filename in the PDF generated
%20${Root.test.titleParam.pdf