Sanitize Event Descriptions in Slackbot Weekly Digest

Open
#682 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
php
Domain
backend

Research direction

Start by searching the repository for the Slackbot weekly digest and the code that formats event descriptions. Reproduce a digest containing HTML such as
, then verify that the posted plain-text Slack block contains no HTML elements while preserving the readable description.

Written by the indexing model from the issue text.

Description

good first issue

Event descriptions can sometimes have HTML elements like <br>, so we should try to strip some of those from the slack message if it's being posted as a plain text block

Dominant language
PHP
Stars
23
Forks
19
Avg merge
1d 8h
Merged PRs (30d)
8

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from hackgvl/hackgreenville-com

All issues in hackgvl/hackgreenville-com

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.