Make BBEdit ignore special strings

View: New views
2 Messages — Rating Filter:   Alert me  

Make BBEdit ignore special strings

by Lorin Rivers :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have code that looks like this:
<li{% cycle ' class="odd"', ' class="even"' %}>

Utterly bogus as html, perfectly fine for the template language I'm  
working with. BBEdit's tag-balancing parser gets all huffy when stuff  
like this is in the code and throws its hands up in the air and  
refuses to balance anything in the vicinity. What can I do to make it  
ignore these tags?
--
Lorin Rivers
Mosasaur: Killer Technical Marketing <http://www.mosasaur.com>
<mailto:lrivers@...>
512/203.3198 (m)



--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <support@...>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <bbedit-talk-off@...>


Re: Make BBEdit ignore special strings

by Jim Correia-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Apr 24, 2008, at 11:34 AM, Lorin Rivers wrote:

> I have code that looks like this:
> <li{% cycle ' class="odd"', ' class="even"' %}>
>
> Utterly bogus as html, perfectly fine for the template language I'm  
> working with. BBEdit's tag-balancing parser gets all huffy when  
> stuff like this is in the code and throws its hands up in the air  
> and refuses to balance anything in the vicinity. What can I do to  
> make it ignore these tags?

For this particular case, the simplest thing to do is to leave a space  
between the "<li" and the "{".

Jim


--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <support@...>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <bbedit-talk-off@...>

LightInTheBox - Buy quality products at wholesale price!