How to render a string which has both HTML and Latex in it in React Js?

This is the string “<table border=”1″ cellpadding=”1″ cellspacing=”1″ style=”width:400px;”>rntrnttrnttt<td rowspan=”3″>An algebraic expression with rntttonly one termrntttMonomialrnttrnttrnttttwo unlike termsrntttBinomialrnttrnttrntttthree unlike termsrntttTrinomialrnttrntrnrnrn

An expression <span class=”mathImg mathquill-rendered-math”>4x^2+4 has  <select name=”first” required=”required”><option value=””>Select<option value=”3″>1<option selected=”selected” value=”2″>2<option value=”4″>3 terms.  So, it is a  <select name=”second” required=”required”><option value=””>Select<option value=”1″>Monomial<option selected=”selected” value=”Binomial”>Binomial<option value=”2″>Trinomial expression.

rnrn

An expression <span class=”mathImg mathquill-rendered-math”>-frac{7}{9}a^2-4b+3 has <select name=”fourth” required=”required”><option value=””>Select<option value=”1″>1<option value=”2″>2<option selected=”selected” value=”3″>3 terms.  So it is a  <select name=”third” required=”required”><option value=””>Select<option value=”1″>Monomial<option value=”2″>Binomial<option selected=”selected” value=”Trinomial”>Trinomial expression.

rn” which I need to render in ReactJs.The expression frac{7}{9}a^2-4b+3 in the above string needs to be rendered as Latex.