Commit 5be5d2e
Pietro Albini
Fix /help command crash if a command doesn't have docstrings
This was caused by commit 7046c49, which escapes automatically
docstrings without HTML in them. The problem was, the check if the
docstring contained HTML was done even if there was no string, causing
issues because you can't do the checks on None.
Regression-of: 7046c491 parent e0a91a0 commit 5be5d2e
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
161 | 165 | | |
162 | 166 | | |
163 | 167 | | |
| |||
0 commit comments