How to escape special chraters in print to pdf

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shalmaxb
    Senior Member
    • Mar 2015
    • 1602

    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?
  • ThomasB
    Senior Member
    • Mar 2022
    • 163

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

    Comment

    • rabii
      Active Community Member
      • Jun 2016
      • 1250

      #3
      Originally posted by shalmaxb
      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

      • item
        Active Community Member
        • Mar 2017
        • 1476

        #4
        Hi,
        just for my information, never use wysiwyg field, how is printed in pdf ?
        If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

        Comment

        • shalmaxb
          Senior Member
          • Mar 2015
          • 1602

          #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...