sagemath/sagenb — pull request #168 by novoselt (2013-06-17 21:32:23+00:00)
Title: Relax interact check for cells to allow passing options

Solves 2 of the problems on http://trac.sagemath.org/sage_trac/ticket/14020

The fix is to detect interact cells by searching for "@interact" without requiring new line in the end (which is not the case when there are parameters like layout). This is not the most ideal fix, but looking at the output instead of input is more involved, so I'd rather save it for later.

Thanks to Jason for figuring everything out, I just used it as some git practice.