orzih/mkdocs-with-pdf

Bug building the doc with render_js: true throw AttributeError

samuel-cavalcanti opened this issue · 0 comments

generator.py

 if len(self._mixed_script) > 0:
                    tag = soup.new_tag('script')
                    tag.text = self._mixed_script
                    body.append(tag)

The atribute .text is only a getter. Please consider to update this line to:

  tag.append(self._mixed_script)