Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upDefault keyword arguments not HTML-escaped #3
Comments
BurntSushi
closed this
in
f66147d
Mar 1, 2014
This comment has been minimized.
This comment has been minimized.
|
Nice find! Thanks. Fixed by escaping the output of the list of function parameters. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
the-allanc commentedFeb 28, 2014
Simple example:
Because the repr for this object is of the form "<object object at 0x7fa508b860a0>", and because pdoc doesn't escape the opening or closing tags, the output looks like this:
As far as I can tell, it also breaks some of the HTML - items underneath this entry become nested under the definition of the offending function. If you generate the HTML for this code, the bug should be apparent (I reproduced this in Chromium):