<span class="SpellingError SCXO166867203 BCX8" style="margin:0px;padding:0px;background-repeat:repeat-x;background-position:left bottom;">bv</span><span class="NormalTextRun SCXO166867203 BCX8" style="margin:0px;padding:0px;background-color:inherit;">.</span>
Does anybody know what clean-up code I could write in Javascript so "bv" and "." can be read together and not in separate (span) elements? I have a Js function that should wrap the "bv." within highlighting marks/tags, but the different span elements prevent the text "bv." to be read together. Is there a simple way to automate the removal of div or span class attributes for example, including when they are nested?