Anyone else have issue with HTML Publishing to website for animal profiles displaying random characters? #1792
-
We are trying to troubleshoot, and have a ticket in with our website host, but lately we are seeing instances where animal descriptions which appear normally in Shelter Manager, publish to the website with symbols rather than characters. See example in the attached image file. The website has this as the publish code.
<script src="https://service.sheltermanager.com/asmservice?method=animal_view_adoptable_js&account=zgXXX"></script>
I put XXX to hide our account id... Is it notable that I do not see an HTML publishing template called "animal_view_adoptable" in the list of HTML Publishing templates showing in Shelter Manager options? Not sure if that matters and we are calling an older no longer in use template... Appreciate any feedback or ideas. Kim |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi, this looks like your animal_view template is missing a text encoding directive. This causes extended/unicode characters like smart quotes and apostrophes to be rendered as latin1 on some platforms. Add this inside the
Alternatively, if you have not really customised the animalview template, you can reset it to the latest version - which has this directive and looks much nicer - by going to Publishing->Edit HTML Publishing Templates, clicking on "animalview" in the list and then clicking the red "Revert to Default" button, followed by "Update" and then closing the dialog. There is a 10 minute cache on animal pages, so you may not see the changes immediately. |
Beta Was this translation helpful? Give feedback.
Hi, this looks like your animal_view template is missing a text encoding directive. This causes extended/unicode characters like smart quotes and apostrophes to be rendered as latin1 on some platforms.
Add this inside the
<head>
tag in your animal_view template:Alternatively, if you have not really customised the animalview template, you can reset it to the latest version - which has this directive and looks much nicer - by going to Publishing->Edit HTML Publishing Templates, clicking on "animalview" in the list and then clicking the red "Revert to Default" button, followed by "Update" and then closing the dialog.
There is a 10 minute cache on animal pages, so you…