Preventing encoding of %20 to white space

I’m developing a plugin that exports issues to word.
I’m trying to add an href in my vm file which has %20 inside its url. The problem I have is that every time I export it to word the %20 is encoded to white space but I need it to export the original %20 in order to be able to open it as a Url.
For example:
original url: “www.test/test%20ab” after export:“www.test/test ab”.
I want it to keep the original one.

Hi @YuvalMaron ,

I am not sure how your plugin does the conversion, but check this HTML escaping for velocity templates guide. It is a bit dated, but maybe it will help guide you in the right direction.

1 Like