This repository has been archived by the owner on Sep 12, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Markdown: Set timeout of rendering to 5 seconds
Return the source wrapped by `<pre>` HTML tag, instead of rendered result, if timeout occurs. Warning: Thread.stop(), which is danger and deprecated but used in this commit, may corrupt the script engine. It may be better to add some code to rebuild the script engine after stopping a thread if you meet some problem in future.
- Loading branch information
Yi EungJun
committed
Jul 7, 2015
1 parent
931e3ab
commit ad9b0aa
Showing
1 changed file
with
41 additions
and
6 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