Open GoogleCodeExporter opened 8 years ago
Most of the errors are due to open <a> tags, improper URL encoding (e.g. " and
? rather than %22 and %3F respectively), and not replacing special characters
with html valid markup (e.g. & instead of & even in URLs).
Original comment by sam.mxra...@gmail.com
on 26 Sep 2012 at 5:41
Final patch. Fixed all remaining errors and warnings. Added an encoding meta
tag.
In libnamebench/charts.py line 118 was not working,
chart.display.enhanced_encoding = True
So I removed it and had to call it as an argument return like line 124
return chart.display.Url(CHART_WIDTH, _BarGraphHeight(bar_count), True)
I figured that out by viewing the source of
nb_third_party/graphy/backends/google_chart_api/encoders.py
where the charts.display.Url() function is defined as:
def Url(self, width, height, use_html_entities=False):
namebench reports are now Valid W3C html.
Once again to patch the software from within the namebench-1.3.1 stable folder.
patch -p1 < namebench-1.3.1r2.patch
Original comment by sam.mxra...@gmail.com
on 26 Sep 2012 at 6:30
Attachments:
Original issue reported on code.google.com by
sam.mxra...@gmail.com
on 26 Sep 2012 at 5:38Attachments: