How can I apply styling to a text that is replaced with prince-text-replace?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>prince-text-replace</title>
<style type="text/css">
body {
prince-text-replace: "black" "<span class='rep'>not red but it should</span>";
}
.rep {
color: red;
}
</style>
</head>
<body>
<p>This text is black</p>
<p><span class='rep'>This one is red</span></p>
</body>
</html>