GetSimple Support Forum
SOLVED HTML entities not loading correctly - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: SOLVED HTML entities not loading correctly (/showthread.php?tid=7214)



HTML entities not loading correctly - Tyblitz - 2015-04-18

Hello,

I built a website with GetSimple and the I18N plugin, and now I notice that whenever an HTML entity is explicitly written in the page source (eg, ' ' to put in extra spacing), it isn't displayed correctly in the browser (though it is in the WYSIWYG), take a look at screenshot below

[Image: 7lKYTcu.png]
Is this intended behavior for GS?
I know I18n plugin puts a content filter over pages, is that the cause?

Thanks for your help


RE: HTML entities not loading correctly - hameau - 2015-04-18

Are you declaring charset=UTF-8 in the template head?


RE: HTML entities not loading correctly - Tyblitz - 2015-04-18

(2015-04-18, 16:29:51)hameau Wrote: Are you declaring charset=UTF-8 in the template head?

Yes of course. I just tested on a localhost site with I18N-plugin installed, no issues there so it's something else.. Perhaps the theme? Or the server serving the wrong content-type?


RE: HTML entities not loading correctly - Hypertexter - 2015-04-18

Hello,

I cannot confirm problems with theme "Innovation" and I18N plugins.
I use   at several occasions and it is correctly passed through to HTML.

Did you try to deactivate the WYSIWYG editor and look what it did to the source code? That editor sometimes changed my source code, so I generally switch it off.


RE: HTML entities not loading correctly - shawn_a - 2015-04-19

some servers override charset, you might have to set it in htaccess or something.


RE: HTML entities not loading correctly - Tyblitz - 2015-04-30

(2015-04-19, 06:53:24)shawn_a Wrote: some servers override charset, you might have to set it in htaccess or something.
Actually it was a badly placed call to html_entity_encode in my own plugin Big Grin
If there's a way to close a post, this one can be closed Smile


RE: HTML entities not loading correctly - datiswous - 2015-05-01

(2015-04-30, 02:58:03)Tyblitz Wrote:
(2015-04-19, 06:53:24)shawn_a Wrote: some servers override charset, you might have to set it in htaccess or something.
Actually it was a badly placed call to html_entity_encode in my own plugin Big Grin
If there's a way to close a post, this one can be closed Smile

You can't close a post, only admins can, but you can set it to Solved. In the Thread Subject you can change No Prefix to SOLVED.