rendered paste body textArtex = textArtex.replace(RegExp("'\]", 'gim'), '</span>'); textArtex = textArtex.replace(RegExp("\['", 'gim'), '<span class="wcrep2">'); textArtex = textArtex.replace(RegExp('"\]\n', 'gim'), '</span>'); textArtex = textArtex.replace(RegExp('\["', 'gim'), '<span class="wcrep1">'); textArtex = textArtex.replace(RegExp("\+\]\r", 'gim'), '</span></p>'); textArtex = textArtex.replace(RegExp("\n\[\+", 'gim'), '<p><span class="wcauth">'); textArtex = textArtex.replace(RegExp("\)\]", 'gim'), '</span>'); textArtex = textArtex.replace(RegExp("\[\(", 'gim'), '<span class="wcsml">'); textArtex = textArtex.replace(RegExp("`\]", 'gim'), '</span>'); textArtex = textArtex.replace(RegExp("\[`", 'gim'), '<span class="wcgrey">'); textArtex = textArtex.replace(RegExp("~\]", 'gim'), '</span>'); textArtex = textArtex.replace(RegExp("\[~", 'gim'), '<span class="wcserif">');