If you add the line '@auto_validation = false' to the beginning of your layout, 
markaby aught to stop minding if you use things unspecified in xhtml. I'm not 
too sure if that will let you use unknown tags, or just unknown attributes.

If you have any trouble getting unknown tags to work, try using the tag! method:

tag! 'footer', arg, arg, arg…

effectively is a more explicit and direct version of:

footer arg, arg, arg…

Hope that helps! Hopefully we'll have a html5-friendly markaby soon. :)

—
Jenna


On 05/11/2011, at 11:22 PM, Nokan Emiro wrote:

> Hi,
> 
> this is not really a Camping question, but a Markaby one, so
> please don't be angry, please!  :)
> 
> How can I use HTML5 tags (for example <footer>) and HTML5
> compliant attributes (for example data-content="xxx") in Markaby?
> It throws an error when I try this.  I've workarounded it with
> text "<footer>"   and  text "<div data-content=\"xxx\">"  but this
> isn't the nicest solution.  How would you do these?
> 
> u.
> 
> 
> _______________________________________________
> Camping-list mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/camping-list

_______________________________________________
Camping-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/camping-list

Reply via email to