I have content in a Wygwam field. When I toggle to Source mode, I see numerous
”, etc encoded characters. This is as desired.
When that content is output in my templates, using the Wygwam tag, and I view source in my browser, I see the rendered characters --
” -- not the encoded equivalents that were in the Source view in the Wygwam field.
I have verified that the
entities_processNumerical settings are both set to Yes in the editor configuration.
I discovered this while working on a plugin. The same conversion is happening via the
$this->EE->TMPL->tagdata value. I'm loading this string into a DOMDocument to do some processing on it, and the rendered characters are breaking.
What should the output data look like?
EE: v2.5.5 - Build Date: 20121220
’in the database table, not the encoded entities. So why is Source mode showing the encoded entities in Wygwam if it's not converting them?