From 2aa08d01c6a4cb74dbf0bfdbd4eef6d01546c7ac Mon Sep 17 00:00:00 2001 From: Tim Fesenko <roadscape@users.noreply.github.com> Date: Mon, 17 Oct 2016 17:25:34 -0400 Subject: [PATCH] remove less than and greater than from slugs, resolves #423 (#490) --- app/redux/TransactionSaga.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/redux/TransactionSaga.js b/app/redux/TransactionSaga.js index 5ae48f195..d2cacea71 100644 --- a/app/redux/TransactionSaga.js +++ b/app/redux/TransactionSaga.js @@ -404,7 +404,7 @@ function* error_vote({operation: {author, permlink}}) { // } function slug(text) { - return getSlug(text, {truncate: 128}) + return getSlug(text.replace(/[<>]/g, ''), {truncate: 128}) //const shorten = txt => { // let t = '' // let words = 0 -- GitLab