Need to removed url when printing the value of href in django

I am attempting to print the href value but its occuring along with the url




        a.printable:visited:after {
            content:" [" attr(href) "] ";

                <td height="40" valign="right" style="width:150px; font-size: 4.2mm; padding:4pt 0pt 0.5pt 0pt; text-align:center; background:#006400;"><a href="{{ request.scheme|safe|escape }}://{{ request.get_host }}/crm/orders/accepting/{{}}/{{}}/" class="printable" style="color:#fff; text-decoration:none;">Accept this Order</a></td>


Here what actually i need is

Accept this order

But i am getting

Accept this order[http:]

Answers: 0