Skip to main content
Question

StringPairReplacer with "

  • August 15, 2018
  • 3 replies
  • 101 views

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

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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

david_r
Celebrity
  • 8394 replies
  • August 15, 2018

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


oliver.morris
Contributor
Forum|alt.badge.img+14
  • Author
  • Contributor
  • 176 replies
  • August 15, 2018

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

that works, thank you David


takashi
Celebrity
  • 7843 replies
  • 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.