cgross / angular-prompt

Angular service to easily display input prompts and confirmation modals.
http://cgross.github.io/angular-prompt/demo
MIT License
52 stars 41 forks source link

How do you get HTML in options.message? #12

Open phil-dileo opened 9 years ago

phil-dileo commented 9 years ago

https://github.com/cgross/angular-prompt/blob/master/angular-prompt.html#L8

This may be a really dumb question, but how do I get newlines, <strong>.<small> reflected in the message?

Any tips?

cgross commented 9 years ago

That ability currently doesnt exist. The library would have to be enhanced with an option for that.

phil-dileo commented 9 years ago

I have a fix for this now using ng-bind-html. It requires the use of ngSanitize. Is this a pr you want? Also, do you plan on merging these outstanding PRs?

mbajur commented 9 years ago

+1