angular-prompt icon indicating copy to clipboard operation
angular-prompt copied to clipboard

How do you get HTML in options.message?

Open phil-dileo opened this issue 9 years ago • 3 comments

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?

phil-dileo avatar Apr 24 '15 19:04 phil-dileo

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

cgross avatar Apr 24 '15 19:04 cgross

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?

phil-dileo avatar May 05 '15 14:05 phil-dileo

+1

mbajur avatar Aug 20 '15 20:08 mbajur