summaryrefslogtreecommitdiff
path: root/Xerl/Page/Content.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Xerl/Page/Content.pm')
-rw-r--r--Xerl/Page/Content.pm9
1 files changed, 4 insertions, 5 deletions
diff --git a/Xerl/Page/Content.pm b/Xerl/Page/Content.pm
index 9100215..9bdca50 100644
--- a/Xerl/Page/Content.pm
+++ b/Xerl/Page/Content.pm
@@ -48,9 +48,9 @@ sub parse($) {
config => $config
);
- if (-1 == $xmlcontent->open()) {
- $config->set_shutdown(1);
- return undef;
+ if ( -1 == $xmlcontent->open() ) {
+ $config->set_shutdown(1);
+ return undef;
}
$xmlcontent->parse();
@@ -144,8 +144,7 @@ sub _insertrules($$$) {
$name =~ s/^=//o; # Remove the leading =
if ( $succ->get_single() ) {
push @content,
- "<$name"
- . ( $succ->params_str() || '' ) . " />\n"
+ "<$name" . ( $succ->params_str() || '' ) . " />\n"
}
else {