From 541631cab26c7fa313da95e0222b81c8f05b0c23 Mon Sep 17 00:00:00 2001 From: nitrohorse <1514352+nitrohorse@users.noreply.github.com> Date: Sat, 17 Aug 2019 11:04:15 -0700 Subject: [PATCH] Update cardv2 to support commas in labels --- _includes/cardv2.html | 2 +- _includes/sections/instant-messenger.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_includes/cardv2.html b/_includes/cardv2.html index 3e8e590a..fa9b2d2e 100644 --- a/_includes/cardv2.html +++ b/_includes/cardv2.html @@ -27,7 +27,7 @@ {{include.title}} {{include.description}} {% if include.labels %} - {% assign labels = include.labels | replace:", ", "," | split:"," %} + {% assign labels = include.labels | split:";" %} {% for label in labels %} {% assign label_data = label | split:":" %} {% assign color = label_data[0] %} diff --git a/_includes/sections/instant-messenger.html b/_includes/sections/instant-messenger.html index 17909486..622b1a55 100644 --- a/_includes/sections/instant-messenger.html +++ b/_includes/sections/instant-messenger.html @@ -23,7 +23,7 @@ ios="" title="Wire" image="/assets/img/tools/wire.png" description="A free software End-to-End Encrypted chatting application that supports instant messaging, voice, and video calls. Full source code is available." -labels="warning:Warning:Wire stores some plaintext metadata about its users on their servers. This data includes users' lists of connections and conversations.,success:VoIP" +labels="warning:Warning:Wire stores some plaintext metadata about its users on their servers. This data includes profile names, profile pictures, usernames, and users' lists of connections and conversations.;success:VoIP" website="https://wire.com/" forum="https://forum.privacytools.io/t/discussion-wire/750" github="https://github.com/wireapp/"