Skip to content

Commit d560e9d

Browse files
committed
feat: correcting spacing
1 parent c957265 commit d560e9d

File tree

3 files changed

+19
-17
lines changed

3 files changed

+19
-17
lines changed

dist/index.js

+9-8
Original file line numberDiff line numberDiff line change
@@ -33895,13 +33895,14 @@ const htmlEncoding = string => {
3389533895

3389633896
const getTemplate = (userID, imageSize, name, avatarUrl) => {
3389733897
return `
33898-
<td align="center">
33899-
<a href="https://github.com/${userID}">
33900-
<img src="${avatarUrl}" width="${imageSize};" alt="${userID}"/>
33901-
<br />
33902-
<sub><b>${name ? name : userID}</b></sub>
33903-
</a>
33904-
</td>`;
33898+
<td align="center">
33899+
<a href="https://github.com/${userID}">
33900+
<img src="${avatarUrl}" width="${imageSize};" alt="${userID}"/>
33901+
<br />
33902+
<sub><b>${name ? name : userID}</b></sub>
33903+
</a>
33904+
</td>
33905+
`;
3390533906
};
3390633907

3390733908
/**
@@ -33952,7 +33953,7 @@ const templateBuilder = async (contributors, prevContributors, type) => {
3395233953
const useUsername = (0,core.getBooleanInput)('use_username');
3395333954
const columns = Number((0,core.getInput)('columns_per_row').trim());
3395433955

33955-
let contributors_content = `<!-- readme:${type}-start -->\n<table>\n<tbody>\t\n`;
33956+
let contributors_content = `<!-- readme:${type}-start -->\n<table>\n\t<tbody>\n`;
3395633957

3395733958
contributors = stripDuplicates(contributors, 'login');
3395833959

dist/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/utils/templateBuilder.js

+9-8
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@ import { htmlEncoding } from './htmlEncoding';
66

77
export const getTemplate = (userID, imageSize, name, avatarUrl) => {
88
return `
9-
<td align="center">
10-
<a href="https://github.com/${userID}">
11-
<img src="${avatarUrl}" width="${imageSize};" alt="${userID}"/>
12-
<br />
13-
<sub><b>${name ? name : userID}</b></sub>
14-
</a>
15-
</td>`;
9+
<td align="center">
10+
<a href="https://github.com/${userID}">
11+
<img src="${avatarUrl}" width="${imageSize};" alt="${userID}"/>
12+
<br />
13+
<sub><b>${name ? name : userID}</b></sub>
14+
</a>
15+
</td>
16+
`;
1617
};
1718

1819
/**
@@ -63,7 +64,7 @@ const templateBuilder = async (contributors, prevContributors, type) => {
6364
const useUsername = getBooleanInput('use_username');
6465
const columns = Number(getInput('columns_per_row').trim());
6566

66-
let contributors_content = `<!-- readme:${type}-start -->\n<table>\n<tbody>\t\n`;
67+
let contributors_content = `<!-- readme:${type}-start -->\n<table>\n\t<tbody>\n`;
6768

6869
contributors = stripDuplicates(contributors, 'login');
6970

0 commit comments

Comments
 (0)