Skip to content

Commit

Permalink
fix: change description replace to <br />
Browse files Browse the repository at this point in the history
Use same behavior as in update-inputs
  • Loading branch information
fty4 committed Jan 12, 2023
1 parent cc18ce9 commit c1f767d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sections/update-outputs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function updateOutputs(token: string, inputs: Inputs): void {
const values = vars[key];
const row: string[] = [
`\`${key.trim()}\``,
values?.description?.trim().replace('\n', ' ') ?? '',
values?.description?.trim().replace('\n', '<br />') ?? '',
];
log.debug(JSON.stringify(row));
markdownArray.push(row);
Expand Down

0 comments on commit c1f767d

Please sign in to comment.