Discussion:
Make BBEdit ignore special strings
Lorin Rivers
2008-04-24 15:34:38 UTC
Permalink
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:***@mosasaur.com>
512/203.3198 (m)
--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <***@barebones.com>, 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-***@barebones.com>
Jim Correia
2008-04-24 23:14:40 UTC
Permalink
Post by Lorin Rivers
<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 <***@barebones.com>, 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-***@barebones.com>
Loading...