I want to convert the string to html. My string contains both the contents as well as html tags. I tried using this.sanitizer.bypassSecurityTrustHtml() but this didn’t worked. My string content is:

"&lt;p&gt;\n &lt;strong&gt;Privacy Statement&lt;\/strong&gt;\n&lt;\/p&gt;\n&lt;p&gt;\n The entity collecting the information described in this Privacy Statement is PricewaterhouseCoopers LLP, the US member firm of the PricewaterhouseCoopers\n network of firms. By using this site and submitting any personal information, you agree to the use by PricewaterhouseCoopers LLP (&quot;PwC,&quot; &quot;we&quot; or\n &amp;#8220;us&amp;#8221;) of such information in accordance with this Privacy Statement.&amp;#160; This Privacy Statement may be amended from time to time by\n publishing an updated version here.\n&lt;\/p&gt;\n&lt;p&gt;\n &amp;#8220;PwC&amp;#8217;s Regulatory Navigator&amp;#174;&amp;#8221; or &amp;#8220;the App&amp;#8221; means the PwC&amp;#8217;s Regulatory Navigator&amp;#174;&amp;#160;thought leadership\n application.\n&lt;\/p&gt;\n&lt;p&gt;\n &quot;You&quot; in this Privacy Statement means an individual user of PwC&amp;#8217;s Regulatory Navigator&amp;#174;.\n&lt;\/p&gt;\n&lt;p&gt;\n This Privacy Statement describes the ways in which PwC collects and uses data through PwC&amp;#8217;s Regulatory Navigator&amp;#174;. PwC&amp;#8217;s Regulatory\n Navigator&amp;#174;&amp;#160;allows all users to:\n&lt;\/p&gt;\n&lt;p&gt;\n &lt;strong&gt;Data collection&lt;\/strong&gt;\n&lt;\/p&gt;\n&lt;p&gt;\n No personally identifiable information is gathered for Users of PwC&amp;#8217;s Regulatory Navigator&amp;#174;.&amp;#160;\n&lt;\/p&gt;\n&lt;p&gt;\n To help us better understand how PwC&amp;#8217;s Regulatory Navigator&amp;#174;&amp;#160;is used, certain additional information is collected in the aggregate. This\n may include, but is not limited to, the following:\n&lt;\/p&gt;\n&lt;ul type=&quot;disc&quot;&gt;\n &lt;li&gt;\n Tracking site statistics for all users\n &lt;\/li&gt;\n &lt;li&gt;\n Tracking which articles are viewed the most for all users\n &lt;\/li&gt;\n &lt;li&gt;\n Tracking which videos are viewed and if they are watched in their entirety for all users\n &lt;\/li&gt;\n &lt;li&gt;\n Tracking navigation to determine if content is easily found for all users\n &lt;\/li&gt;\n&lt;\/ul&gt;\n&lt;p&gt;\n In addition, we may log and monitor useage in order to administer and improve the application, to protect against unauthorized access to the application,\n and to check compliance with applicable legal and contractual obligations and PwC policies and guidance.\n&lt;\/p&gt;\n&lt;p&gt;\n PwC reserves the right to monitor, edit and remove any content available on the App, but does not have\n the obligation to do so.\n&lt;\/p&gt;\n&lt;p&gt;\n &lt;strong&gt;Use of data&lt;\/strong&gt;\n&lt;\/p&gt;\n&lt;p&gt;\n Information collected in the aggregate will be used as outlined in the &amp;#8220;Data collection&amp;#8221; section above.\n&lt;\/p&gt;\n&lt;p align=&quot;left&quot;&gt;\n PwC&amp;#8217;s Regulatory Navigator&amp;#174;&amp;#160;does not collect or compile personally identifiable information for dissemination or sale to outside parties\n for consumer marketing purposes, or host mailings on behalf of Third Parties. If you would like to find out more about the different categories of\n information collected, please review the &amp;#8216;Data collection&amp;#8217; section.\n&lt;\/p&gt;\n&lt;p&gt;\n &lt;strong&gt;Cookies &lt;\/strong&gt;\n&lt;\/p&gt;\n&lt;p&gt;\n PwC&amp;#8217;s Regulatory Navigator&amp;#174;&amp;#160;does not use cookies.&lt;strong&gt;&lt;\/strong&gt;\n&lt;\/p&gt;\n&lt;p&gt;\n &lt;strong&gt;Third party links&lt;\/strong&gt;\n&lt;\/p&gt;\n&lt;p&gt;\n There are several places throughout PwC&amp;#8217;s Regulatory Navigator&amp;#174;&amp;#160;that link to other content that do not operate under PwC&apos;s privacy\n practices. When you link to other content, PwC&apos;s privacy practices no longer apply. We encourage visitors to review each such content site&apos;s privacy policy\n before disclosing any personally identifiable information.\n&lt;\/p&gt;\n&lt;p&gt;\n &lt;strong&gt;Third Parties&lt;\/strong&gt;\n &lt;strong&gt;&lt;\/strong&gt;\n&lt;\/p&gt;\n&lt;p&gt;\n PwC is a global network with member firms around the world. We may transfer and disclose your personal information to other PwC member firms for any of the\n purposes set out in this statement. For a list of countries where PwC member firms are located, please see\n http:\/\/www.pwc.com\/gx\/en\/office-locations\/index.jhtml.\n&lt;\/p&gt;\n&lt;p&gt;\n As a result, your personal information may be transferred outside the country where you are located. This includes countries outside the European Economic\n Area (EEA) and countries that do not have laws that provide specific protection for personal information. Where we collect your personal information within\n the EEA, transfer outside the EEA will be only to a recipient in a country which provides an adequate level of protection for personal data or under an\n agreement which covers the EU requirements for the transfer of personal data to data processors or data controllers outside the EEA.\n&lt;\/p&gt;\n&lt;p&gt;\n PwC uses resources and servers located in various countries around the world to process your personal information. Your personal information may also be\n transferred to third party service providers who process information on PwC&apos;s behalf, including providers of information technology, identity management,\n website hosting and management, data analysis, data back-up, security and storage services. The third party service providers may also use their own third\n parties (sub-processors). PwC&amp;#8217;s third party service providers and their sub-processors are bound to maintain appropriate levels of security and\n confidentiality and to process personal information as instructed by PwC.\n&lt;\/p&gt;\n&lt;p&gt;\n PwC may disclose your personal information to law enforcement, regulatory, or other government agencies or to other third parties as required by, and in\n accordance with, applicable law or regulation. PwC may also review and use your personal information to determine whether this disclosure is required or\n permitted. PwC may also disclose log files for security-related purposes.\n&lt;\/p&gt;\n&lt;p&gt;\n &lt;strong&gt;Access&lt;\/strong&gt;\n&lt;\/p&gt;\n&lt;p&gt;\n If you would like to exercise your rights under applicable to law to obtain details of personal information PwC holds about you, or to correct that\n information, please contact PwC at [Provide contact information here]. PwC may charge for a request to access your personal information, if permitted under\n applicable law. You can also contact PwC at [Provide contact information here] if you have a complaint about PwC&amp;#8217;s handling of your personal\n information.\n&lt;\/p&gt;\n&lt;p align=&quot;left&quot;&gt;\n &lt;strong&gt;Retention&lt;\/strong&gt;\n&lt;\/p&gt;\n&lt;p&gt;\n PwC will retain your personal information for as long as is required for any of the purposes described above or longer if required by applicable law or\n regulation.\n&lt;\/p&gt;\n&lt;p&gt;\n &lt;strong&gt;Children&lt;\/strong&gt;\n&lt;\/p&gt;\n&lt;p&gt;\n PwC understands the importance of protecting children&amp;#8217;s privacy especially in an online environment. The PwC sites covered by this privacy statement\n are not intentionally designed for or directed at children under the age of 13 years. It is PwC&amp;#8217;s policy never to knowingly collect or maintain\n personally identifiable information about children under the age of 13.\n&lt;\/p&gt;\n&lt;p&gt;\n &lt;strong&gt;Security&lt;\/strong&gt;\n&lt;\/p&gt;\n&lt;p&gt;\n PwC has put in place appropriate technical and organizational security measures to protect your personal information from loss, misuse or destruction,\n including unauthorised or unlawful disclosure or processing of your personal information.\n&lt;\/p&gt;\n&lt;p&gt;\n &lt;strong&gt;Legal&lt;\/strong&gt;\n&lt;\/p&gt;\n&lt;p&gt;\n The information contained in this app is for general guidance on matters of interest only. The application and impact of laws can vary widely based on the\n specific facts involved. Given the changing nature\n &lt;br\/&gt;\n of laws, rules and regulations, and the inherent hazards of electronic communication, there may be delays, omissions or inaccuracies in information\n contained in this site. Accordingly, the information in\n &lt;br\/&gt;\n this app is provided with the understanding that the authors and publishers are not herein engaged in rendering legal, accounting, tax, or other\n professional advice and services. As such, it should not be used as a substitute for consultation with professional accounting, tax, legal or other\n competent advisers. Before making any decision or taking any action, you should consult a PwC professional.\n &lt;br\/&gt;\n &lt;br\/&gt;\n While we have made every attempt to ensure that the information contained in this site has been obtained from reliable sources, PwC is not responsible for\n any errors or omissions, or for the results obtained from the use of this information. All information in this app is provided &quot;as is&quot;, with no guarantee\n of completeness, accuracy,\n &lt;br\/&gt;\n timeliness or of the results obtained from the use of this information, and without warranty of any kind, express or implied, including, but not limited to\n warranties of performance, merchantability and fitness for a particular purpose. In no event will PwC, its related partnerships or corporations, or the\n partners, agents or employees thereof be liable to you or anyone else for any decision made or action taken in reliance on the information in this app or\n for any consequential, special or similar damages, even if advised of the possibility of such damages.\n &lt;br\/&gt;\n &lt;br\/&gt;\n Certain links in this site connect to other websites maintained by third parties over whom PwC has no control. PwC makes no representations as to the\n accuracy or any other aspect of information contained in other websites.\n&lt;\/p&gt;\n"

With the innerHtml as well as this.sanitizer.bypassSecurityTrustHtml(), I was able to convert the escape characters to html elemtents only but could’t do the styling. Refer the screenshot attached below:

I want to add the tags to html too as well as unconverted escape characters to normal tags/symbols.