Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Most Quotation Marks Missing from HTML
Update: This was do to Google Code Page Speed optimizations: http://code.google.com/speed/page-speed/docs/filter-quote-remove.html. Thanks Maniqui!
I just created a new Textpattern install and it is not displaying the majority of the quotation marks. I have cut down the HTML for my default template to just this code:
<!DOCTYPE html>
<html dir="ltr" lang="en-US">
<head>
<title>My Web Site</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="all" />
</head>
<body id="home">
<p>My text.</p>
</body>
</html>
However, when I view the source, it displays with almost no quotation marks:
<!DOCTYPE html>
<html dir=ltr lang=en-US>
<head>
<title>My Web Site</title>
<meta http-equiv=Content-Type content="text/html; charset=utf-8"/>
<meta name=robots content=all />
</head>
<body id=home>
<p>My text.</p>
</body>
</html>
Can anyone help me determine what could be causing this issue?
Last edited by matt7530 (2011-02-08 14:44:07)
Offline
Re: Most Quotation Marks Missing from HTML
Not sure, maybe its a server thing.
I just copied your original code, pasted it into a new page in a 4.3 install, tested it in live, testing & debugging mode in FF and Safari on a mac and all code stayed as is.
Offline
Re: Most Quotation Marks Missing from HTML
Some browser source code viewers strip the quotes from tag attributes. It’s not Textpattern, and it’s nothing to worry about. Attribute values don’t need to be quoted in HTML 5 unless they contain spaces or special characters, and your browser has only removed the non-required quote marks.
Code is topiary
Offline
Re: Most Quotation Marks Missing from HTML
This isn’t happening when I view the source for any other website, so something odd is definitely happening on the site. The jury is still out if it’s Textpattern or some other hosting setting, but I’m not ruling anything out yet.
Offline
Re: Most Quotation Marks Missing from HTML
Offline
Re: Most Quotation Marks Missing from HTML
You are a scholar and a gentleman. Thank you!
Offline