summaryrefslogtreecommitdiff
path: root/modules/filter
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-09-05 08:42:02 +0000
committerDries Buytaert <dries@buytaert.net>2007-09-05 08:42:02 +0000
commitab1715750a9aa2157cd117fa6b98399bb3bf6512 (patch)
treeb7287d0c047febac5de50db36868d06c5aee32d9 /modules/filter
parentf655adcf9785376c760dea3ae681653e26ebf0fe (diff)
downloadbrdo-ab1715750a9aa2157cd117fa6b98399bb3bf6512.tar.gz
brdo-ab1715750a9aa2157cd117fa6b98399bb3bf6512.tar.bz2
- Patch #172961 by webernet: code style cleanup.
Diffstat (limited to 'modules/filter')
-rw-r--r--modules/filter/filter.module6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/filter/filter.module b/modules/filter/filter.module
index 4f8694b61..445def4e7 100644
--- a/modules/filter/filter.module
+++ b/modules/filter/filter.module
@@ -1162,7 +1162,7 @@ function _filter_htmlcorrector($text) {
}
// Add trailing slash to single-use tags as per X(HT)ML.
else {
- $value = rtrim($value, ' /') . ' /';
+ $value = rtrim($value, ' /') .' /';
}
$output .= '<'. $value .'>';
}
@@ -1187,7 +1187,7 @@ function _filter_url_parse_full_links($match) {
$match[2] = decode_entities($match[2]);
$caption = check_plain(_filter_url_trim($match[2]));
$match[2] = check_url($match[2]);
- return $match[1] . '<a href="'. $match[2] .'" title="'. $match[2] .'">'. $caption .'</a>'. $match[5];
+ return $match[1] .'<a href="'. $match[2] .'" title="'. $match[2] .'">'. $caption .'</a>'. $match[5];
}
/**
@@ -1197,7 +1197,7 @@ function _filter_url_parse_partial_links($match) {
$match[2] = decode_entities($match[2]);
$caption = check_plain(_filter_url_trim($match[2]));
$match[2] = check_plain($match[2]);
- return $match[1] . '<a href="http://'. $match[2] .'" title="'. $match[2] .'">'. $caption .'</a>'. $match[3];
+ return $match[1] .'<a href="http://'. $match[2] .'" title="'. $match[2] .'">'. $caption .'</a>'. $match[3];
}
/**