'You can nest {for}s inside {button}.'

def test_button_for_nesting(self):

    text = '{button    start    {for    mac}mac{/for}{for    win}win{/for}    rest}'
    p = WikiParser()
    content = p.parse(text)
    eq_(u'<p><span    class="button">start    <span    class="for"    data-for="mac">mac</span><span    class="for"    data-for="win">win</span>    rest</span>\n</p>', content)
