GetSimple Support Forum
Bug with meta description - 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: Bug with meta description (/showthread.php?tid=1397)



Bug with meta description - gimx - 2011-03-11

Hello,

GS don't write the ' (sorry, don't remember the name of this char... :/)

Snippet in Bing :

[Image: screenbing.png]

My description in GS :

[Image: screengs.png]


Bug with meta description - JWH_Matthew - 2011-03-11

At first glance, it appears to be a bug with Bing. When you save a page and go back to it in GetSimple does the character still appear?


Bug with meta description - gimx - 2011-03-11

Hello Matthew,

Yes it appear but I think it's not a bug with Bing because... When I look the source code, it's the same problem.

Code:
<meta name="description" content="Ayez un site Web efficace et d&eacute;veloppez votre chiffre daffaire !

For the moment, the site is only present in Bing. I wait for Google and Yahoo to see if the problem appear again...


Bug with meta description - Connie - 2011-03-11

the name of that character is "Apostrophe" and as it is used in programming languages it should be escaped to survive the functions ;=)


Bug with meta description - ccagle8 - 2011-03-11

It's because we strip out quotes because that can cause problems if left in: http://code.google.com/p/get-simple-cms/source/browse/trunk/admin/inc/theme_functions.php#296

Thinking about this now, maybe we should change it to encode quotes instead of removing them...


Bug with meta description - gimx - 2011-03-12

Thanks for your reply Smile

It's not a big "bug" because it's only with description. For the title, text, etc... No problem Smile


Bug with meta description - ccagle8 - 2011-03-12

agreed... the original thinking was, what if some creates an HTML meta tag like this:

Code:
<meta name='description' content='ada's asdfasfdsf asdfasdf sdf d' />

it breaks... and maybe even potentially breaks the whole page.


Bug with meta description - GetSimple.RU - 2011-11-19

Same bug is with Russian - if Meta Description field left blank while creating a post, we get buggy symbols in meta

[Image: 1321646114-clip-4kb.png]