Warning: Illegal string offset 'html' in /home/wordmodules/cache/skin_cache/cacheid_1/skin_topic.php on line 975 Mysterious unintentional highlighting: a common problem to avoid in module creation - theWord Modules - Page 2

Jump to content


- - - - -

Mysterious unintentional highlighting: a common problem to avoid in module creation


10 replies to this topic

#11 Scribe

    Liking theWord

  • Members
  • PipPip
  • 22 posts

Posted 18 September 2013 - 11:46 PM

View PostJosh Bond, on 18 September 2013 - 10:48 PM, said:

The RTF tags that signal a background color (or character shading) are:

\chcbpat[0-9]
\cb[0-9]

Where [0-9] is a number signifying a color. The numbers can vary so in the search below, I account for any possible number (0-9 and up to 3 digits long)

I use a regular expression search/replace, where the search looks like the text below and replace with nothing:
\\chcbpat[0-9]{1,3}
\\cb[0-9]{1,3}

Thanks, Josh
Scribe





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users


This topic has been visited by 23 user(s)