From 3a6c6601fa9152cb02445b167d64fd4b9889e61c Mon Sep 17 00:00:00 2001
From: Andreas Gohr <gohr@cosmocode.de>
Date: Tue, 21 Feb 2017 16:34:26 +0100
Subject: [PATCH] SVG dispatch: allow passing ini colors without underscores

The surrounding underscores can be left out.
---
 svg.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/svg.php b/svg.php
index 1fab9c2..f0bad62 100644
--- a/svg.php
+++ b/svg.php
@@ -272,6 +272,9 @@ class SVG {
             if(isset($this->replacements[$color])) {
                 return $this->replacements[$color];
             }
+            if(isset($this->replacements['__' . $color . '__'])) {
+                return $this->replacements['__' . $color . '__'];
+            }
             return '';
         }