This code in AbstractHelper.php has the effect of silently failing:
try {
$escapedAttribute = $escapeAttr($value);
$strings[] = sprintf('%s="%s"', $escape($key), $escapedAttribute);
} catch (EscaperException $x) {
// If an escaper exception happens, escape only the key, and use a blank value.
$strings[] = sprintf('%s=""', $escape($key));
}
Some problem with my attribute value was resulting in an exception and thus a blank value, as intended by the above code. I would have much preferred seeing the exception, instead of having to trace it down to this bit of code.
This code in
AbstractHelper.php
has the effect of silently failing:Some problem with my attribute value was resulting in an exception and thus a blank value, as intended by the above code. I would have much preferred seeing the exception, instead of having to trace it down to this bit of code.