Join GitHub today
refactor: Moved ifLabel -> cleanPort and updated the usage #6288
DO NOT DELETE THIS TEXT
If you would like to test this pull request then please run:
This should resolve issues with ports that need to have information escaped / encoded before displaying.
Also fixed the notes widget to allow people to put certain html tags in.
Pushed an update to fix this. I'd already done it on the line above. Basically display() is already run so gives you the clean data but we then add that into the html - which at that stage looks fine, but as this is an overlib popup the html data is reparsed by the browser and & becomes &. Double display() basically fixes this.
@laf There is an issue with ajax tables getting double encoded.
We could remove the cleanPort(), but I don't think that is correct.
Edit: nevermind, found the double display() calls.