-
Notifications
You must be signed in to change notification settings - Fork 437
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent exception on empty URL in markdown text
An empty URL part in markdown text leads to an exception in the mardown renderer. When a comment includes such an empty URL string, it ends up with a code 500. This happens when people post code examples which contain the same syntax as a markdown link. Instead of throwing an exception, we can just render the original content incase of an empty URL part. Kudos to @eduardoj Fixes #10259
- Loading branch information
1 parent
3e14a78
commit f296385
Showing
2 changed files
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters