From 1b9b7434445e84eef29ccfda9a80b54c19343df5 Mon Sep 17 00:00:00 2001 From: "Paul Buetow (pluto.buetow.org)" Date: Sun, 15 Sep 2013 12:56:45 +0200 Subject: remove libXML --- Xerl/Page/Content.pm | 2 -- Xerl/Page/Templates.pm | 10 +++++----- 2 files changed, 5 insertions(+), 7 deletions(-) (limited to 'Xerl/Page') diff --git a/Xerl/Page/Content.pm b/Xerl/Page/Content.pm index bd3e8ee..d9d7d34 100644 --- a/Xerl/Page/Content.pm +++ b/Xerl/Page/Content.pm @@ -213,8 +213,6 @@ sub _insert_special_vars($$$$) { $$rtext =~ s/@\@text\@\@/$_=$element->get_text();chomp;$_/geo; $$rtext =~ s/@\@ln\@\@//go; - #$$rtext =~ s/@\@link\@\@/$element->get_params()->{link}.'$$params$$'/geo; - if ( $$rtext =~ /@\@(.*?)\@\@/ ) { my $params = $element->get_params(); return unless ref $params eq 'HASH'; diff --git a/Xerl/Page/Templates.pm b/Xerl/Page/Templates.pm index 3b7d13f..e018682 100644 --- a/Xerl/Page/Templates.pm +++ b/Xerl/Page/Templates.pm @@ -1,6 +1,6 @@ # Xerl (c) 2005-2011,2013 Dipl.-Inform. (FH) Paul C. Buetow # -# E-Mail: xerl@dev.buetow.org WWW: http://xerl.buetow.org +# E-Mail: xerl@dev.buetow.org WWW: http://xerl.buetow.org # # All rights reserved. # @@ -12,8 +12,8 @@ # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # * Neither the name of buetow.org nor the names of its contributors may -# be used to endorse or promote products derived from this software -# without specific prior written permission. +# be used to endorse or promote products derived from this software +# without specific prior written permission. # # THIS SOFTWARE IS PROVIDED Paul C. Buetow ``AS IS'' AND ANY EXPRESS OR # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED @@ -188,8 +188,8 @@ sub PARSELINE($$$;$) { $$line =~ s/$sep(!)?(.+?)$sep/ defined $1 ? `$2` : (ref $config->getval($2) eq 'ARRAY') - ? join '', @{$config->getval($2)} : - $config->getval($2)/eg and $$foundflag = 1; + ? join '', @{$config->getval($2)} : + $config->getval($2)/eg and $$foundflag = 1; return undef; } -- cgit v1.2.3