J
Joel VanderWerf
Is this how tagz.<< is supposed to work? It seems that << and #concat
behave differently w.r.t. entity quoting.
require 'tagz'
include Tagz.globally
arrow = "↑"
html = html_ {
___
tagz << arrow
___
tagz.concat arrow
___
___ arrow
}
puts html
__END__
Output:
<html>
&uarr;
↑
↑
</html>
behave differently w.r.t. entity quoting.
require 'tagz'
include Tagz.globally
arrow = "↑"
html = html_ {
___
tagz << arrow
___
tagz.concat arrow
___
___ arrow
}
puts html
__END__
Output:
<html>
&uarr;
↑
↑
</html>