Return SUCCESS if result is empty

This commit is contained in:
Eric Charles 2016-03-29 09:28:36 +02:00
parent 463c0661a1
commit c36fe8a9c4

View file

@ -42,7 +42,7 @@ object ZeppelinRDisplay {
val body = document.body()
if (body.getElementsByTag("p").isEmpty) return RDisplay(body.html(), HTML, ERROR)
if (body.getElementsByTag("p").isEmpty) return RDisplay(body.html(), HTML, SUCCESS)
val bodyHtml = body.html()