Announcement

Collapse
No announcement yet.

How to escape special chraters in print to pdf

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to escape special chraters in print to pdf

    Hi,
    I have some Textbox fields, where I have a concatenated string with '\n' for line breaks. When I print such field to PDF it prints out <br> on those places.
    Is there any escape code for that?

  • #2
    Maybe this is what you are looking for: https://forum.espocrm.com/forum/gene...-for-each-line

    Comment


    • #3
      Originally posted by shalmaxb View Post
      Hi,
      I have some Textbox fields, where I have a concatenated string with '\n' for line breaks. When I print such field to PDF it prints out <br> on those places.
      Is there any escape code for that?
      for text fields always use triple brackets {{{description}}} to escape html.
      Rabii
      Web Dev

      Comment


      • #4
        Hi,
        just for my information, never use wysiwyg field, how is printed in pdf ?

        Comment


        • #5
          Thank you for all the help. It has been discussed here lots of time already, but I did not get it

          Comment


          • esforim
            esforim commented
            Editing a comment
            {{{As in it working now or what?}}}
        Working...
        X