国際化ドメイン名サイトで、trackbackを有効にすると、 Firefox1.5でページ末に -->が表示されてしまします。
RDF定義中(<?-- -->の内部)で、 punycodeのxn--hogehoge.comを不正なコメント終末と見なされるらしく、XHTML validatorにもこの点を怒られます。
現在pukiwiki.ini.phpに変数$script_enc (ハイフンを数値参照化) を作って、これをtrackback.php内にglobalで吸って表示させてます。
いちいちプラグインやライブラリ書き換えるか、func.phpでの対応が必要になると思いますが、 スキン作成にも波及しそうでしたので。
当方pukiwikiplus!1.4.6eucで運用中ですがpukieiki本家1.4.6で再現しました。
- $_script = get_script_uri(); // Get absolute path + $_script = str_replace('-','-',get_script_uri()); // Get enceded pathひとまずこれで良いはずです
補足
rdf:about="http://www.xn--hogehoge.jp/?FrontPage"
<!--
</rdf:RDF>
The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.
If this error occured in a script section of your document, you should probably read this FAQ entry.
なお$scriptを数値参照にしてしまうと、表示は大丈夫に見えても編集周りで不具合起きるので注意*2
pukiwiki.ini.php
$script = 'http://xn--hogehoge.com/'; // の場合下を追加 $script_enc = 'http://xn--hogehoge.com/'; // - を - に置き換える*3
trackback.php (function tb_get_rdf)
- $_script = get_script_uri(); // Get absolute path + global $script_enc; // load var + $_script = $script_enc; // Get encoded path