I'm executing a ruta script dynamically from a Java Maven project. The script annotates an HTML file and the output is processed further. Now that the coveredText contains HTML tags in between as below;
(a+b) < SUP >2< /SUP> ==> is MARKed as formula
But I want it as
(a+b)2 ==> where the superscription is captured as another annotation and handled later.
How to arrive at the expected solution ?