Tag helper

How can I add specific content inside a tag when I create it using the
tag helper? Is there an “inner_html” option?
This doesn’t seem to be working.

<%= tag(:map, :id => (@module.css_id), :inner_html =>‘innerhtml’ ) %>

On Tue, Feb 22, 2011 at 3:31 PM, Mlle [email protected] wrote:

How can I add specific content inside a tag when I create it using the
tag helper? Is there an “inner_html” option?

Per the doc tag generates an empty tag – which by definition can’t
have content “inside” it. However, content_tag can :slight_smile:

HTH,

Hassan S. ------------------------ [email protected]
twitter: @hassan

I want it to output this, for example and all the stuff
will be passed to the tag helper as inner html: