Github user goi commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/164#issuecomment-124079421
Yes the current behavior is depending on the order of the type enums, and a
better solution is to allow complex output. BUT I argue that the current
implementation is not deterministic as well as the output of the magic word
depends on the previous line of code and if the underling engine returned some
text before.
If it is important I can change the loop to track the last occurrence of
the magic word and trim all preceding text that way in your example the %html
will be presented.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---