It was becoming increasingly frustrating to have to recode all those ampersands every time I wanted to edit something on the FAQ page. So, after enough digging I finally found the source. Although after looking at the code, I'm still not sure why it was stripping the entities from the ampersands. In any case here is how I solved the problem in case anyone else is as retentive as I am and want their EZpages to validate:
In admin/ezpages.php line 440
I changed:
PHP Code:
echo zen_draw_textarea_field('pages_html_text', 'soft', '100%', '40', $ezInfo->pages_html_text);
to:
PHP Code:
echo zen_draw_textarea_field('pages_html_text', 'soft', '100%', '40', htmlspecialchars($ezInfo->pages_html_text));
It seems to work fine now.
Bookmarks