Skip to content

Commit

Permalink
inserted notice that CSS content does not support unicode decoding
Browse files Browse the repository at this point in the history
  • Loading branch information
odrobnik committed May 6, 2012
1 parent ecd2a7b commit 5124588
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Core/Source/NSScanner+HTML.m
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
2 changes: 1 addition & 1 deletion Demo/Resources/CurrentTest.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 5124588

Please sign in to comment.