Skip to main content
MarkWalsh
Inspiring
March 4, 2019
Answered

Ampersand (&) gets doubled in GREP Style?

  • March 4, 2019
  • 1 reply
  • 1423 views

I'm using InDesign CC 2019 (14.01), and I have a GREP style applied to a paragraph style, the pattern contains an ampersand (e.g. 'This & that').

I've been having intermittent problems where the pattern suddenly changes unexpectedly to 'This && that'. I even tried escaping the ampersand ('This \& that'), but it still changed the style. It doesn't seem to do it all the time, but I can't determine under what circumstances it made the change. I tried making a new document and entering a new style, and it changed it after I created the style, but I was unable to repeat it on subsequent tries.

Is this a known bug? Is there a way for me to be sure it won't change when I send the job to the printer?

    This topic has been closed for replies.
    Correct answer winterm

    When things like this act strange, the Unicode notations usually save my back. That said, try \x{0026} instead of &.

    1 reply

    winterm
    wintermCorrect answer
    Legend
    March 4, 2019

    When things like this act strange, the Unicode notations usually save my back. That said, try \x{0026} instead of &.

    MarkWalsh
    MarkWalshAuthor
    Inspiring
    March 4, 2019

    Ok, thanks. That seems to work, hope it stays that way this time.