You can achieve this using the URL function, make sure to mind browser compatibility if needed.
.toBeReplacedDescription span {
display: none;
}
.toBeReplacedDescription:after {
content: url(“Here is the new replaced text.”);
}
<a href="https://newlink”.com target="_blank">
<img src="https://example.com/assets/images/1.png" />
</a>
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…