diff options
Diffstat (limited to 'docs/components/angular-bootstrap/bootstrap.js')
| -rw-r--r-- | docs/components/angular-bootstrap/bootstrap.js | 12 | 
1 files changed, 10 insertions, 2 deletions
| diff --git a/docs/components/angular-bootstrap/bootstrap.js b/docs/components/angular-bootstrap/bootstrap.js index 71972200..170e8805 100644 --- a/docs/components/angular-bootstrap/bootstrap.js +++ b/docs/components/angular-bootstrap/bootstrap.js @@ -257,7 +257,7 @@ var popoverElement = function() {      content : function(value) {         if(value && value.length > 0) { -        value = new Showdown.converter().makeHtml(value); +        value = marked(value);        }        return this.contentElement.html(value);      }, @@ -380,4 +380,12 @@ directive.foldout = ['$http', '$animator','$window', function($http, $animator,    }  }]; -angular.module('bootstrap', []).directive(directive).factory('popoverElement', popoverElement); +angular.module('bootstrap', []) +  .directive(directive) +  .factory('popoverElement', popoverElement) +  .run(function() { +    marked.setOptions({ +      gfm: true, +      tables: true +    }); +  }); | 
