[MKDoc-commit] [1.6] MKDoc::XML::Tagger was being used to add hyperlinks to Text

bruno at mkdoc.demon.co.uk bruno at mkdoc.demon.co.uk
Wed Mar 9 13:51:25 GMT 2005


Log Message:
-----------
[1.6] MKDoc::XML::Tagger was being used to add hyperlinks to Text
components instead of MKDoc::XML::Tagger::Preserve.

Tags:
----
mkdoc-1-6

Modified Files:
--------------
    mkd/flo/editor:
        Text.pm

-------------- next part --------------
Index: Text.pm
===================================================================
RCS file: /var/spool/cvs/mkd/flo/editor/Text.pm,v
retrieving revision 1.6.2.23
retrieving revision 1.6.2.24
diff -Lflo/editor/Text.pm -Lflo/editor/Text.pm -u -r1.6.2.23 -r1.6.2.24
--- flo/editor/Text.pm
+++ flo/editor/Text.pm
@@ -25,7 +25,7 @@
 use flo::Editor;
 use flo::Standard;
 use MKDoc::CGI;
-use MKDoc::XML::Tagger;
+use MKDoc::XML::Tagger::Preserve;
 use MKDoc::Text::Structured;
 use strict;
 
@@ -83,7 +83,7 @@
         push @newl, $new;
     }
 
-    my $res = MKDoc::XML::Tagger->process_data ($data, @newl);
+    my $res = MKDoc::XML::Tagger::Preserve->process_data (['a'], $data, @newl);
     # $res =~ s/^<div>//;
     # $res =~ s/<\/div>$//;
     return $res;


More information about the MKDoc-commit mailing list