` blocks.
-#
+#
my $text = shift;
@@ -1227,26 +1227,26 @@ sub _DoCodeBlocks {
sub _DoCodeSpans {
#
# * Backtick quotes are used for
spans.
-#
+#
# * You can use multiple backticks as the delimiters if you want to
# include literal backticks in the code span. So, this input:
-#
+#
# Just type ``foo `bar` baz`` at the prompt.
-#
+#
# Will translate to:
-#
+#
# Just type foo `bar` baz
at the prompt.
-#
+#
# There's no arbitrary limit to the number of backticks you
# can use as delimters. If you need three consecutive backticks
# in your code, use four for delimiters, etc.
#
# * You can use spaces to get literal backticks at the edges:
-#
+#
# ... type `` `bar` `` ...
-#
+#
# Turns to:
-#
+#
# ... type `bar`
...
#
@@ -1287,7 +1287,7 @@ sub _EncodeCode {
{
no warnings 'once';
if (defined($blosxom::version)) {
- s/\$/$/g;
+ s/\$/$/g;
}
}
@@ -1693,8 +1693,8 @@ See the readme file for detailed release notes for this version.
=head1 COPYRIGHT AND LICENSE
-Copyright (c) 2003-2004 John Gruber
-
+Copyright (c) 2003-2004 John Gruber
+
All rights reserved.
Redistribution and use in source and binary forms, with or without
diff --git a/ui-blob.c b/ui-blob.c
index 9c99519..c2de8d6 100644
--- a/ui-blob.c
+++ b/ui-blob.c
@@ -54,7 +54,7 @@ int cgit_ref_path_exists(const char *path, const char *ref, int file_only)
if (get_sha1(ref, sha1))
return 0;
- if (sha1_object_info(sha1, &size) != OBJ_COMMIT)
+ if (sha1_object_info(sha1, &size) != OBJ_COMMIT)
return 0;
read_tree_recursive(lookup_commit_reference(sha1)->tree, "", 0, 0, &paths, walk_tree, &walk_tree_ctx);
return walk_tree_ctx.found_path;
diff --git a/ui-summary.c b/ui-summary.c
index ddd8f1b..df99ce1 100644
--- a/ui-summary.c
+++ b/ui-summary.c
@@ -112,7 +112,7 @@ static char* append_readme_path(const char *filename, const char *ref, const cha
full_path = xstrdup(path);
} else
full_path = fmtalloc("%s/%s", base_dir, path);
-
+
if (!ref) {
resolved_base = realpath(base_dir, NULL);
resolved_full = realpath(full_path, NULL);
@@ -136,7 +136,7 @@ void cgit_print_repo_readme(char *path)
if (ctx.repo->readme.nr == 0)
return;
-
+
filename = ctx.repo->readme.items[0].string;
ref = ctx.repo->readme.items[0].util;