Browse files

added code tag and = as a substitute for :

  • Loading branch information...
1 parent 636864d commit 11e7db04fabef564909a865aea93b890b79b0a40 Tim Burks committed Nov 4, 2010
Showing with 2 additions and 1 deletion.
  1. +1 −0 nu/xhtml.nu
  2. +1 −1 objc/markup.m
View
1 nu/xhtml.nu
@@ -21,6 +21,7 @@ END contents:(list xmlns:XMLNS)))
body
br
button
+ code
col
div
dd
View
2 objc/markup.m
@@ -47,7 +47,7 @@ - (id) initWithTag:(NSString *) _tag
- (id) initWithTag:(NSString *) _tag prefix:(NSString *) _prefix contents:(id) _contents
{
self = [super init];
- tag = _tag ? [_tag retain] : nil;
+ tag = _tag ? [[_tag stringByReplacingOccurrencesOfString:@"=" withString:@":"] retain] : nil;
prefix = _prefix ? [_prefix retain] : @"";
contents = _contents ? [_contents retain] : [NSNull null];
return self;

0 comments on commit 11e7db0

Please sign in to comment.