[Po4a-devel] Xml: Keeping XHTML SSI

Yves Rutschle debian.anti-spam at rutschle.net
Fri Jun 9 22:34:57 UTC 2006


Hello,

So, here's a way to solve my SSI problem: add a generic tag type that doesn't
eat the statements, that comes before the standard comment in the @tag_types
list:

diff -u -r1.46 Xml.pm
--- Xml.pm      12 Apr 2006 23:46:01 -0000      1.46
+++ Xml.pm      9 Jun 2006 22:25:42 -0000
@@ -404,6 +404,9 @@
 ##### Generic XML tag types #####' 
 
 my @tag_types = ( 
+       {       beginning       => "!--#",
+               end             => "--",
+               breaking        => 0},
        {       beginning       => "!--",
                end             => "--",
                breaking        => 0,


I'm not sure this is acceptable as it's really html-related, so if you object
to its inclusion I'll wait until the API for this is finished.

Good night,
Y.




More information about the Po4a-devel mailing list