Permalink
Browse files

inserted notice that CSS content does not support unicode decoding

  • Loading branch information...
1 parent ecd2a7b commit 5124588773d6ddacfd6a16d978dbd0bd9cb8951d @odrobnik odrobnik committed May 6, 2012
Showing with 3 additions and 1 deletion.
  1. +2 −0 Core/Source/NSScanner+HTML.m
  2. +1 −1 Demo/Resources/CurrentTest.html
View
2 Core/Source/NSScanner+HTML.m
@@ -264,6 +264,8 @@ - (BOOL)scanCSSAttribute:(NSString **)name value:(NSString **)value
// skip whitespace
[self scanCharactersFromSet:whiteCharacterSet intoString:NULL];
+
+ //TODO: decode unicode sequences like "\2022"
}
else
{
View
2 Demo/Resources/CurrentTest.html
@@ -9,7 +9,7 @@
}
</style>
<body>
- <p>Custom list prefixes are now supported via list-style-type: none in combination with li:before and content.</p>
+ <p>Custom list prefixes are now supported via list-style-type: none in combination with li:before and content. Note: only plain characters at present, no unicode sequence decoding.</p>
<ul>
<li>foo</li>
<li><b>bar</b></li>

0 comments on commit 5124588

Please sign in to comment.