Ticket #46 (new enhancement)

Opened 23 months ago

[patch] to_html

Reported by: zimbatm Owned by: somebody
Priority: minor Milestone:
Component: lib Version:
Keywords: Cc:

Description

This is a micro enhancement that makes it possible to distinguish subtext and element attributes by adding a :respond_to?(:to_html) check to the Markaby::Builder#text method.

See the test case for an example.

Attachments

markaby-to_html.diff (1.1 kB) - added by zimbatm 23 months ago.
the patch with test case

Change History

Changed 23 months ago by zimbatm

the patch with test case

Note: See TracTickets for help on using tickets.