Page 1 of 1

xhtml-bug in event_freetag.php

Posted: Fri Jul 21, 2006 7:18 pm
by stm999999999
the <meta ...>-Element is an element with an empty content model.
It should use an empty-element tag.

On line 959 ff.

Code: Select all

        echo "<meta name=\"keywords\" content=\"";
        if (isset($this->tags['show'])) {
            if (is_array($this->tags['show'])) {
                foreach($this->tags['show'] AS $r) {
                    $not_first ? print(', ') : $not_first = true;
                    echo $r;
                }
            } else {
                echo $this->tags['show'];
                $not_first = true;
            }
        }
        foreach($rows AS $r) {
            if (empty($r['tag'])) {
                continue;
            }
            $not_first ? print(', ') : $not_first = true;
            echo htmlspecialchars($r['tag']);
        }
        echo "\">";
there must be at the end

Code: Select all

        echo "\" />";

Re: xhtml-bug in event_freetag.php

Posted: Mon Jul 24, 2006 1:11 pm
by garvinhicking
Hi!

Thanks, fixed.

Regards,
Garvin