Commit 14ee85b
process_comment: Use last defined callback
Instead of using the last registered callback,
iterate through all callbacks and use the last
one that was actually implemented and returned `Some()`.
This is essentially when users register more than one parse callback -
the process_comment may not be the last.1 parent b7c7964 commit 14ee85b
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
582 | 582 | | |
583 | 583 | | |
584 | 584 | | |
585 | | - | |
586 | | - | |
587 | | - | |
| 585 | + | |
588 | 586 | | |
589 | 587 | | |
590 | 588 | | |
| |||
0 commit comments