[TextMate] text folding bug?

James Spahr james at spahr.org
Thu Oct 7 16:02:17 UTC 2004


When you have a block of text like this:

	<ul>
		<li><a {if $section eq "orders-pending"}class="current" {/if}
				href="/admin.php/orders-pending">Pending Orders</a></li>
				
		<li><a {if $section eq "orders-pending"}class="current" {/if}
				href="/admin.php/orders">Search Orders</a></li>
		</ul>

the </ul> doesn't register as a closing tag because it is not at the 
same tab level as the <ul>. In other words, the above doesn't work, but 
this does:

	<ul>
		<li><a {if $section eq "orders-pending"}class="current" {/if}
				href="/admin.php/orders-pending">Pending Orders</a></li>
				
		<li><a {if $section eq "orders-pending"}class="current" {/if}
				href="/admin.php/orders">Search Orders</a></li>
	</ul>



James.




More information about the textmate mailing list