my $html = html('<h1>').$not_html.html('</h1>');
- print html($html); # <h1>Hello, Bob " Jake</h1>
+ print html($html); # <h1>Hello, Bob & Jake</h1>
or, alternatively,
"<h1>${not_html}</h1>";
}
- print html($html); # <h1>Hello, Bob " Jake</h1>
+ print html($html); # <h1>Hello, Bob & Jake</h1>
(but see the L<HTML::String::Overload> documentation for details and caveats).