How to use angularJS trustAsHtml only for one HTML tag?
<p>I'm trying to highlight only one specific HTML tag  (from elasticsearch) and escape all the rest.</p>

<p>I'm using angular 1.5.5</p>

<p>the filter I use  :</p>

<pre><code>angular.module('filters', [])
.filter('unsafe',['$sce', function ($sce) {
        return function (content) {
            return $sce.trustAsHtml(content);
        };
    }])
</code></pre>

<p>in html :</p>

<pre><code>&lt;p class="small" ng-bind-html="file.content | characters:460 | unsafe"&gt;&lt;/p&gt;
</code></pre>

<p>and if the content is something like that :  </p>

<pre><code>Java class for &lt;mark&gt;RoleStatusCancelled&lt;/mark&gt;.  
</code></pre>

<p>it's ok, and i have a good result
but if i had :</p>

<pre><code>&lt;a href="../Outils.&lt;mark&gt;html&lt;/mark&gt;#extensionJPG"&gt;&lt;b&gt;extensionJPG&lt;/b&gt;&lt;/a&gt;
</code></pre>

<p>it gives me an <a href="https://i.stack.imgur.com/rpyDU.png" rel="nofollow noreferrer">interpreted html</a>
but i expect something like <a href="https://i.stack.imgur.com/96cUE.png" rel="nofollow noreferrer">that</a></p>

<p>I search for a long time a solution but still in trouble :(</p>