Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
a1bc4c86
Commit
a1bc4c86
authored
Mar 02, 2009
by
wurblzap%gmail.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 481025 - Remove rogue Byte Order Mark.
Patch by Marc Schumann <wurblzap@gmail.com>; r/a=mkanat
parent
57886cce
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
005whitespace.t
t/005whitespace.t
+12
-1
login-small.html.tmpl
template/en/default/account/auth/login-small.html.tmpl
+1
-1
No files found.
t/005whitespace.t
View file @
a1bc4c86
...
...
@@ -36,7 +36,7 @@ use Support::Templates;
use
File::
Spec
;
use
Test::
More
tests
=>
(
scalar
(
@
Support::Files::
testitems
)
+
$
Support::Templates::
num_actual_files
)
*
2
;
+
$
Support::Templates::
num_actual_files
)
*
3
;
my
@testitems
=
@
Support::Files::
testitems
;
for
my
$path
(
@
Support::Templates::
include_paths
)
{
...
...
@@ -68,4 +68,15 @@ foreach my $file (@testitems) {
close
(
FILE
);
}
foreach
my
$file
(
@testitems
)
{
open
(
FILE
,
"$file"
);
my
$first_line
=
<
FILE
>
;
if
(
$first_line
=~
/\xef\xbb\xbf/
)
{
ok
(
0
,
"$file contains Byte Order Mark --WARNING"
);
}
else
{
ok
(
1
,
"$file is free of a Byte Order Mark"
);
}
close
(
FILE
);
}
exit
0
;
template/en/default/account/auth/login-small.html.tmpl
View file @
a1bc4c86
[%# The contents of this file are subject to the Mozilla Public
[%# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment