Lines Matching refs:html5
3 Utility for parsing HTML5 entity definitions available from:
5 http://dev.w3.org/html5/spec/entities.json
15 from html.entities import html5
17 entities_url = 'http://dev.w3.org/html5/spec/entities.json'
26 """Create the html5 dict from the decoded json object."""
65 print('html5 = {', file=file)
72 # without args print a diff between html.entities.html5 and new_html5
73 # with --create print the new html5 dict
77 print('# map the HTML5 named character references to the '
87 if line.startswith('html5 = {'):
100 if html5 == new_html5:
103 compare_dicts(html5, new_html5)