Question 1: In order to use the HTMLHelper plugin, do I need to inject it into my handler? I’m assuming yes because before I had injected I got an error saying html is undefined.
Question 2: I injected the plugin and the error went away, however the meta tag did not show up when I viewed the source. Am I missing something?
I FINALLY got around to implement this…looking at the date or my original post it was almost a year ago! haha
Anyways, it turns out that all the meta method does in HTML Helper is return back the generated meta tag, whereas addAssets is the function that has the sendToHeader argument. This seems silly that meta() doesn’t have this argument since meta only exists in the HTML head.
To get around this I created a custom plugin that extends the core HTMLHelper.