> An alternative fix is to replace:
> #{"style=\"background-color: #{h bg_color}\"" if bg_color}
> with:
> #{"style=\"background-color: #{html_escape bg_color}\"" if bg_color}
>
> I think "h" is supposed to be a method alias for "html_escape", but
> is not loaded due to something missing in our setup.
This fails for me the same way as plain "h". After digging deeper, I
found "h" is ERB::Util.h, so changing the line to:
#{"style=\"background-color: #{ERB::Util.h bg_color}\"" if bg_color}
works for me.
--
ceterum censeo microsoftem esse delendam.
pgpbDAqH_LCyQ.pgp
Description: OpenPGP digital signature
_______________________________________________ Pkg-ruby-extras-maintainers mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers
