diff --git a/direct/src/directscripts/gendocs.py b/direct/src/directscripts/gendocs.py
index fbf0206378..84f43a13ac 100644
--- a/direct/src/directscripts/gendocs.py
+++ b/direct/src/directscripts/gendocs.py
@@ -641,11 +641,11 @@ def generateFunctionDocs(code, method):
proto = code.getFunctionPrototype(method)
comment = code.getFunctionComment(method)
if (comment == ""): comment = "Undocumented function.
\n"
- chunk = '
' + "\n"
+ chunk = '
|