Dear Folks,
I have a problem with meta tags being rendered by headMeta() in the format:
<meta name="author" content="some author" > (a space before the closing >)
I wish to use HTML 4.01 Strict doctype and do not want to have a space as
above
to keep the coding consistent. Is there a neat way by which I could get rid
of t
he space rendered by the headMeta() helper method.
My second problem is with indentation please see the HTML segment page
below:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<title>Some title</title>
<meta name="author" content="Catherine Jennings">
<meta name="date" content="2010">
<meta name="copyright" content="© Catherine Jennings 2010">
<meta name="keywords" content="Poetic Tributes">
<meta name="description" content="">
</head>
As you can see the first meta tag line is indented correctly but the other
meta tag lines do not respect the indentation. I have tried using
setIndent(' ') however this makes the first meta tag line be indented by
another extra four spaces which I do not want.
I know these are fairly minor issues but I would like to keep Zend's way of
coding and mine the same as far as HTML is concerned.
I hope you could shed some light as I am new to Zend.
I am currently using Zend 1.11 on Ubuntu Linux.
Thanks in advance.
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/Meta-tags-rendering-and-indentation-issues-tp3062357p3062357.html
Sent from the Zend Framework mailing list archive at Nabble.com.