On my test site, I was trying out some modules, and then went and checked out the permissions page, which was working fine earlier. The permissions are grouped into sets for each module, and each set is supposed to have the title of the module. However, the titles are now showing with html code. eg <span id="thmr_2" class="thmr_call"> admin_menu</span> module , or <span id="thmr_13" class="thmr_call"> advanced_help</span> module

How do I go about solving this problem? Should I be reporting this as a bug somewhere? How do I debug a theming kinda problem? Most debug solutions revolve around stack traces which I'm guessing won't be helpful here.

I tried uninstalling some of the recently installed modules, but it didn't help. I suspect one of the modules must have a hook_perm_form_alter, with an unclosed tag or something... But I don't know how to single out where the problem is, without a laborious process of manually removing every module and seeing if the problem is fixed.

Any suggestions?

Comments

redpuma’s picture

Sounds like you have the Devel module enabled along with the "Theme developer".

Turn off the Theme developer.

skorned’s picture

yup, that was the problem. I didn't see your reply in time, but luckily I had the sense to uninstall the theme developer first, which I had actually completely forgotten about...
anyhow, its been posted in the issues for the Theme developer, a LOT of times. But I'm kinda surprised how they're downplaying it. They haven't mentioned the issue on the home page, and have it listed as minor!