Received: from out0.migadu.com (out0.migadu.com [94.23.1.103]) by mail-b.sr.ht (Postfix) with ESMTPS id 2A109FF104 for <~sircmpwn/chartsrv-devel@lists.sr.ht>; Sat, 24 Oct 2020 14:51:35 +0000 (UTC) Authentication-Results: mail-b.sr.ht; dkim=fail reason="key not found in DNS" (0-bit key) header.d=cmpwn.com header.i=@cmpwn.com header.b=fNHr7+tv MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cmpwn.com; s=key1; t=1603551094; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to; bh=0SO9yNRLsvcA9pJl+RBvWDDc/HyTweH8nJGM8s43ouY=; b=fNHr7+tvmxXw0dRsRfR1CU6uhE1nrf8SIm6bL2JjwlP1tsgECunukvwXm/SbAYaGRFiECq rINfXp5P9Z2XWteWWMXvk4rfB/ZdtF/KcHxgC7JmJwEkdfIAEvdWJirqJklp/EmjCjVp9h vVRsKJxZogOOZKS9cEhBhdonAHFM6BGZmc2K0ikIDxx3AWnjc1kYrrHXEyeQ2O5/ECJv7f 81qn+WzCq8Vd1kuUezekCm1/kO9xqOHfhvdM36YfqBWSZ7zM5TuwqdEZ2n/DhLdWNGK9F3 9/0k+gn2G+HhIskyhirYamsQhjYSqLZ6cy5yga7D68b1n+73v6Yzrxo0g7OZgw== Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Subject: Re: [PATCH] Support label templating X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: "Drew DeVault" To: "Noam Preil" , <~sircmpwn/chartsrv-devel@lists.sr.ht> Date: Sat, 24 Oct 2020 10:51:03 -0400 Message-Id: In-Reply-To: <20201021233658.16705-1-noam@pixelhero.dev> X-Spam-Score: -3.60 Can you move the bulk of this to a separate function? Can you verify that any SVG markup is correctly escaped if the user specifies a template with SVG elements in it?