<div ng-controller="text" ng-init="init()" style="min-height:{{panel.height || row.height}}" ng-dblclick="openEditor()"><markdown ng-show="ready && panel.mode == 'markdown'">{{panel.content}}</markdown><p ng-show="panel.mode == 'text'" ng-style="panel.style" ng-bind-html-unsafe="panel.content | striphtml | newlines"></p><p ng-show="panel.mode == 'html'" ng-bind-html-unsafe="panel.content"></p></div>