Skip to main content
Question

StringPairReplacer with "


oliver.morris
Contributor
Forum|alt.badge.img+12

Hi

I am creating a table using the HTML Report Generator. I have some hyperlinks in my table and the report generator replaces these and it doesnt display correctly in the email that finally gets sent out.

I am using the StringPairReplacer to sort out the < > and & but I am stuck with "

Using this: < < > > & & " """

Doesnt work:

StringPairReplacer: @Tcl2 -- failed to evaluate expression `StringPairReplacer_replace' -- list element in quotes followed by """ instead of space

Using this: < < > > & & " "

Doesnt work either.

What is the best way to go about replacing " with "

Many Thanks as always,

Oliver

3 replies

david_r
Celebrity
  • August 15, 2018

Have you tried using a regular StringReplacer for that particular case?


oliver.morris
Contributor
Forum|alt.badge.img+12
  • Author
  • Contributor
  • August 15, 2018
david_r wrote:

Have you tried using a regular StringReplacer for that particular case?

that works, thank you David


takashi
Influencer
  • August 15, 2018

Try escaping the literal double quotation in the replacement pairs.

< &lt; > &gt; & &amp; \" &quot;

Alternatively, the TextEncoder (Encoding Type: HTML) could also be helpful.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings