I have a bug with this code (attach in mail). I have a bookmark, before the bookmark there is a character " and after the bookmark there is a character " (for example: "[bk1]"). The output is not ok because the result is:
"" (Document content)
And the good output should be:
" (Document content) "
I attach de document with the bookmarks and source code (in previous post you give this code) because I don't find the bug in this code.
Thanks for all.