Add target attribute with "_blank" value to links

I needed to add the target attribute with "_blank" value to all links so I've changed the code...
I think this is not the best way to solve the problem but was the fastest that I've found...