Returns a text that can safely be used inside an Html attribute.
Returns Invalid expression
if the result is not a text.
HtmlAttributeEncode(
text
)
HtmlAttributeEncode("\"Line 1\"\n'Line 2'")
=> "Line 1"
'Line 2'
HtmlAttributeEncode()
=> Invalid expression