Have you considered using flexifilter to do this? Or simply entering the html markup, which is simpler (IMO) than the pseudocode you created. http://drupal.org/project/flexifilter

Comments

MarcElbichon’s picture

Version: » 5.x-1.0
Status: Active » Closed (fixed)