Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to render html view in data-mathjax-bind in angularjs

In this view data mathjax is working well but when we add enter in textarea it is not going new line. when we post something like this

a) A
b) B
c) C
then it display a) A b) B c) C
I want to display it like in data-mathjax-bind
a) A
b) B
c) C
how to solved this?
<div class="question-title-preview">
   <span data-mathjax-bind="question.titleDisplay"></span>
</div>
like image 276
SaNDIP TAWRE Avatar asked Oct 29 '22 11:10

SaNDIP TAWRE


1 Answers

When i put $ \\ $ then it takes new line but I want through codeing e.g. $ 1)abcd\\ 2)efgh $ it shows me

    1) abcd
    2) efgh

 how can i do it through codeing?
like image 190
SaNDIP TAWRE Avatar answered Nov 14 '22 14:11

SaNDIP TAWRE