Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaac-Flath committed Oct 20, 2024
1 parent 7a15d3a commit 16fc9bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nbdev/showdoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def _repr_html_(self):
doc += f'<blockquote><pre><code>{self.nm} {sig}</code></pre></blockquote>'
if self.docs:
doc += f"<p><i>{self.docs}</i></p>"
if src: doc += f"<br/>{_html_link(src, "source")}"
if src: doc += f"<br/>{_html_link(src, 'source')}"
if self.dm.has_docment: doc += _create_html_table(str(self.dm))
return doc

Expand Down
2 changes: 1 addition & 1 deletion nbs/api/08_showdoc.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1013,7 +1013,7 @@
" doc += f'<blockquote><pre><code>{self.nm} {sig}</code></pre></blockquote>'\n",
" if self.docs:\n",
" doc += f\"<p><i>{self.docs}</i></p>\"\n",
" if src: doc += f\"<br/>{_html_link(src, \"source\")}\"\n",
" if src: doc += f\"<br/>{_html_link(src, 'source')}\"\n",
" if self.dm.has_docment: doc += _create_html_table(str(self.dm))\n",
" return doc\n",
"\n",
Expand Down

0 comments on commit 16fc9bc

Please # to comment.