Any text after a double quotes is not displayed. Single quote works fine.
Announcement
Collapse
No announcement yet.
Double quotes
Collapse
X
-
What version of the software are you using? What script option did you select (ASP, PHP, etc). There was a recent bug in the ASP script with double quotes, which is now fixed. But this may or may not have been your problem.
Can you give an example of what you see.
----
David
Comment
-
You're right. We did some tests and noticed the behaviour you reported.
To clarify, this occurs only when you are indexing a PDF document with the "Use meta information from plugins" configuration setting enabled. If this PDF document contains double quotes in the description (set within Adobe Acrobat, via "Document Properties" -> "Summary" -> "Subject:") then the description would be wrongly truncated up to the first double quote character.
Unfortunately, this is a bug in the PDF plugin which is an external GPL project. We will look into fixes for this in the future, but in the meantime, we recommend that you replace the double quotes with single quotes where possible.
Comment
-
We are also experiencing this with php file:
<meta name="description" content="The FBI and other enforcement agencies use the element of surprise to obtain vital information during investigations. How can you better gear your practice for a "surprise attack"? By James B. Wieland, Esq. and Laura C. Callahan, RN, Esq. [May 2001]">
The text will be truncated after the 1 double quotes.
We are using V4.1 Build 1002.
Comment
-
In your case, your PHP file is simply outputting invalid HTML, and Zoom is doing the correct thing there.
You need to use HTML entities in place of the double quote characters within the meta description (ie. replace the " with ". Alternatively, you can use single quote characters to enclose your description like so:
<meta name='description' content='The FBI and other enforcement agencies use the element of surprise to obtain vital information during investigations. How can you better gear your practice for a "surprise attack"? By James B. Wieland, Esq. and Laura C. Callahan, RN, Esq. [May 2001]'>
Comment
-
Originally posted by RayYou need to use HTML entities in place of the double quote characters within the meta description (ie. replace the " with ".
Originally posted by RayAlternatively, you can use single quote characters to enclose your description like so:
<meta name='description' content='The FBI and other enforcement agencies use the element of surprise to obtain vital information during investigations. How can you better gear your practice for a "surprise attack"? By James B. Wieland, Esq. and Laura C. Callahan, RN, Esq. [May 2001]'>
Comment
-
Oops. My mistake. The "description" bit should stay as double quotes, only the content value can be in single quotes. ie:
<meta name="description" content='The FBI and other enforcement agencies use the element of surprise to obtain vital information during investigations. How can you better gear your practice for a "surprise attack"? By James B. Wieland, Esq. and Laura C. Callahan, RN, Esq. [May 2001]'>
The HTML entities (" is a better option however.
Comment
Comment