Is there a web-designer in the house?

Steve smorrey at gmail.com
Wed Jan 16 13:09:06 MST 2008


Hey everyone thanks for the suggestions and help.

It turns out smarty was spitting out some invalid HTML, something akin
to tdwidth rather than td width.

I missed it because it was one element in probably 3kloc of poorly
formatted HTML.

Anyways it's all resolved and for the record, smarty isn't very smart.
 The root cause of the problem was an errant line break.
Turns out smarty ignores line breaks in templates and strips
whitespace from the end of lines.
That means that the line reading

<td
width = "20">
</td>

Turns into
<tdwidth="20">
</td>

Just for future reference incase anyone else runs into this.
moral of the story here is use an editor that doesn't wrap lines
automagically after a certain width, when editing smarty templates.


Any ways thanks for all the help everyone.

Sincerely,
Steve



More information about the PLUG mailing list