Revision: 5049
http://skim-app.svn.sourceforge.net/skim-app/?rev=5049&view=rev
Author: hofman
Date: 2008-12-11 18:13:45 +0000 (Thu, 11 Dec 2008)
Log Message:
-----------
get attributes from start of template tag
Modified Paths:
--------------
trunk/SKTemplateParser.m
Modified: trunk/SKTemplateParser.m
===================================================================
--- trunk/SKTemplateParser.m 2008-12-11 16:06:25 UTC (rev 5048)
+++ trunk/SKTemplateParser.m 2008-12-11 18:13:45 UTC (rev 5049)
@@ -534,7 +534,7 @@
if ([scanner scanString:START_TAG_OPEN_DELIM intoString:nil]) {
- attr = [template attributesAtIndex:[scanner scanLocation] - 1
effectiveRange:NULL];
+ attr = [template attributesAtIndex:[scanner scanLocation] -
[START_TAG_OPEN_DELIM length] effectiveRange:NULL];
start = [scanner scanLocation];
// scan the key, must be letters and dots. We don't allow extra
spaces
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit