Skip to content

Commit

Permalink
fix: strip html from tech rev comment in fap export (#885)
Browse files Browse the repository at this point in the history
  • Loading branch information
TCMeldrum authored Dec 3, 2024
1 parent 5958321 commit 475e338
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/backend/src/factory/xlsx/fap.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { groupBy } from 'lodash';
import { stripHtml } from 'string-strip-html';
import { container } from 'tsyringe';

import baseContext from '../../buildContext';
Expand Down Expand Up @@ -125,7 +126,7 @@ export const collectFapXLSXRowData = async (
proposal.title,
proposal.proposal_id,
proposal.time_allocation,
proposal.comment,
stripHtml(proposal.comment ?? '').result,
proposal.rank_order,
proposal.proposer_id,
proposalAnswers,
Expand Down

0 comments on commit 475e338

Please sign in to comment.