Issue 75: [PATCH] Filters should pass contentModelFlag changes to source http://code.google.com/p/html5lib/issues/detail?id=75
New issue report by astoneman: What steps will reproduce the problem? from html5lib import HTMLParser from html5lib.filters.validator import HTMLConformanceChecker p = HTMLParser(tokenizer=HTMLConformanceChecker) p.parse("<title>A</title>") What is the expected output? What do you see instead? This should not raise an exception. Instead, it raises an assertion error on: assert self.tokenizer.contentModelFlag == contentModelFlags["PCDATA"] Please provide any additional information below. I'm attaching a patch for python. I don't know if ruby has a similar problem. Attachments: contentModelFlag.patch 592 bytes Issue attributes: Status: New Owner: ---- Labels: Type-Defect Priority-Medium -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "html5lib-discuss" group. To post to this group, send email to html5lib-discuss@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/html5lib-discuss?hl=en-GB -~----------~----~----~----~------~----~------~--~---
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4