Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
hugo: helpers/content.go: call rst2html directly to render content #47600
Motivation for this change
Hugo launches rst2html by calling Python interpreter and passing it the path of rst2html file.
The problem is that rst2html is actually a bash script and not a Python script. Hence, Python fails to launch it with SyntaxError.
This patch ensures that rst2html is called directly so the shebang work correctly.