HughDai / embeddedjavascript

EJS cleans the HTML out of your JavaScript with client side templates
http://code.google.com/p/embeddedjavascript
Other
0 stars 0 forks source link

Link is removed from inside to outside of the span when template renders #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
To reproduce the problem use the code above:
            <a href="javascript:;" class="full">

                <span class="lead"></span>
                <span class="pin">

                    <span class="item_name">title</span>

                    <span class="item_sup_info">  0 miles away<br />Call: <a href="tel:323213313">323213313</a></span>

                </span>
                        </a>

When the template renders i get the following:
                        <a href="javascript:;" class="full">
                <span class="lead"></span>
                <span class="pin">
                    <span class="item_name">La Belle Auberge</span>
                    <span class="item_address">54 r Cambronne 75015 Paris</span>
                    <span class="item_sup_info">  0 miles away<br>Call: </span></span></a>
                        <a href="tel:323213313">323213313</a>

Original issue reported on code.google.com by da...@fabricadofuturo.org.br on 11 Nov 2011 at 1:22