Hello,
I'm trying to write automated page-makeup and therefore I need to be able to count the number of words in a text that countains html tags.
I want to split up the text into columns, but, suppose the break occurs in the middle of '<b>this ^ bold tekst</b>', then I would run the risk of having a large part of the page in bold if I forgot the put a closing </b> after 'this'
That's just one problem.
I am not asking you to write this for me, I just wonder if someone has done work on this before and can give me some hints.
I'm trying to write automated page-makeup and therefore I need to be able to count the number of words in a text that countains html tags.
I want to split up the text into columns, but, suppose the break occurs in the middle of '<b>this ^ bold tekst</b>', then I would run the risk of having a large part of the page in bold if I forgot the put a closing </b> after 'this'
That's just one problem.
I am not asking you to write this for me, I just wonder if someone has done work on this before and can give me some hints.