Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Poll.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ export class Poll {
actionBlockCount++;
}
// Remove special characters, should be able to remove this once slack figures itself out
parameters[i] = parameters[i].replace("&", "+").replace("<", "greater than ")
.replace(">", "less than ");
parameters[i] = parameters[i].replace("&", "+").replace(">", "greater than ")
.replace("<", "less than ");
// We set value to empty string so that it is always defined
const button: Button = { type: "button", value: " ", text: PollHelpers.buildTextElem(parameters[i]) };
actionBlocks[actionBlockCount].elements.push(button);
Expand Down