Issue with @ extension='html' | Community
Skip to main content
Level 2
Oct 24, 2018 1:15 PM UTC
Solved

Issue with @ extension='html'

I am facing issue with sightly href="${url @ extension='html'}" . html extension was removing all the empty query parameter (query param which dont have any value) from the url and keeping only those which has value.

e.g. original url -  endpoint.html?param1=&param2=val2

       corrected url after @ extension = endpoint.html?param2=val2

All of a sudden it has stopped removing those empty params. Any suggestions?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
arunpatidar
arunpatidarAccepted solution
New Participant
Oct 24, 2018 4:38 PM UTC

Hi,

I checked in AEM 6.3, its working for me.

can you try with context='uri'

Arun Patidar

1 reply

arunpatidar
arunpatidarAccepted solution
New Participant
Oct 24, 2018 4:38 PM UTC

Hi,

I checked in AEM 6.3, its working for me.

can you try with context='uri'

Translate
Arun Patidar