Lexing support for unquoted HTML attribute values
This adds support for HTML such as:
<a href=foo>HTML is a child of Satan itself</a>
Fixes #94
This commit is contained in:
1 parent
23a441933a
commit
afbb585812
5 files changed
+116
-3
No files matched your search
@@ -89,6 +89,8 @@ public class Lexer extends RubyObject
|
||||
@JRubyMethod
|
||||
public IRubyObject advance_native(ThreadContext context, RubyString rb_str)
|
||||
{
|
||||
Boolean html_p = this.callMethod(context, "html").isTrue();
|
||||
|
||||
Encoding encoding = rb_str.getEncoding();
|
||||
|
||||
byte[] data = rb_str.getBytes();
|
||||
|
||||
Reference in new issue
Block a user