Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Content with HTML tag not working.. #63

Open
ghost opened this issue Jul 13, 2016 · 2 comments
Open

Content with HTML tag not working.. #63

ghost opened this issue Jul 13, 2016 · 2 comments

Comments

@ghost
Copy link

ghost commented Jul 13, 2016

@dibari
i have content in which there are p, pre, span, ul li and other html tag. Which i am assign from the controller using ng-bind-html. In this case full content not is visible.

$scope.paragraphText = "Four score and seven years ago our <pre>fathers brought forth on this continent</pre>, a new nation, <p>conceived in Liberty</p>, <a href='http://google.com'>and</a> dedicated to the proposition that all men are created equal. Now we are engaged in a great civil war, testing whether that nation, or any nation so conceived and so dedicated, can long endure. We are met on a great battle-field of that war. We have come to dedicate a portion of that field, as a final resting place for those who here gave their lives that that nation might live."

Output:-
With HTML Tag--
with html tag
Without HTML Tag--
without html tag

@MiguelRozalen
Copy link

In addition. When I try to use data-ng-bind-html i´m getting a nice html result but also an error:

sin titulo

@DzmVasileusky
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants