Escaping colons in AREA description

This commit is contained in:
Gregory 2013-06-06 19:02:30 +02:00
parent bb472a14a2
commit 4d38beab07

View File

@ -66,6 +66,7 @@ foreach ($knownlinks as $link) {
$col = $link['color'] . "BB";
else
$col = $link['color'];
$descr = str_replace(':', '\:', $link['descr']); # Escaping colons in description
$cmd .= "AREA:{$link['tag']}_{$v6_el}in_bits#{$col}:\"{$link['descr']}\"";
if ($i > 0)
$cmd .= ":STACK";