unnecessary <br/> tags
Brought to you by:
edloper
I have a habit to put empty lines in many places and leave certain things on their own line. For instance, the triple quotation in Python ("""). Epydoc (quite recent HEAD) generates unnecessary <br/> tags in these cases. I think it is common enough to add a special case to strip or somehow not generate <br/>.
example dummy python module
Logged In: YES
user_id=1053920
Originator: NO
I can't spot any difference with different usage of whitespaces, check:
- http://www.develer.com/~piro/br-api/brtest-module.html
- http://www.develer.com/~piro/nobr-api/nobrtest-module.html
The former is the module you sent, the latter the same code with some LF less (you can see the source pages). I can't see any difference between the output pages.
Logged In: YES
user_id=1053920
Originator: NO
I'm closing this bug because the <br/><br/> are not generated by extra whitespaces before and after docstring.
I'd like to remove as many <br/> as i can. But it seems that Edward dropped on purpose the generation of <p>...</p> around some paragraphs in epytext, and without those missing p's the double <br/> are required to add a pleasant amount of spacing.
I am for adding the <p> again every paragraph in the epydoc output and fine tune the space using the css. I'll try to do something in this direction.