Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Checking HTML tags is a waste of time outside of debug builds I'd judge.

  • Loading branch information...
commit 1fa7ee9f2a78bd04bbf33cbbc7d16d0561c3658b 1 parent 7a60274
@mikeabdullah mikeabdullah authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  KSHTMLWriter.m
View
2  KSHTMLWriter.m
@@ -538,7 +538,9 @@ - (NSString *)validateAttribute:(NSString *)name value:(NSString *)value ofEleme
- (void)startElement:(NSString *)elementName writeInline:(BOOL)writeInline; // for more control
{
+#ifdef DEBUG
NSAssert1([elementName isEqualToString:[elementName lowercaseString]], @"Attempt to start non-lowercase element: %@", elementName);
+#endif
// Add in any pre-written classes
Please sign in to comment.
Something went wrong with that request. Please try again.