Hey y’all
I created a small custom form and using a ‘style=“width:50px”’ tag to make the “input” tag fields fit into my table’s cells.
Everything works great outside of the DHIS custom form interface (aka just opening my HTML source code in Firefox / Edge), and DHIS works fine if I paste this code into the “Source” window of the CKEditor when making a custom form and save.
BUT if I then read the source code again in CKEditor, it will add random “/” characters to the ‘style=“width:50px”’ tags, thus the become ‘style=“width:50px//////”’ which breaks them.
Do we know why this is? Can I prevent this somehow? If my explanation was not clear, please check the quick GIF demonstrating this. I am running DHIS 2.40.3.1 on Ubuntu 24.04 and PostgreSQL 14.
Thanks!
Image may be NSFW.
Clik here to view.
2 posts - 2 participants