Jump to content
  • 0

Cannot update Invoice Email template because of a bad charset


turner2f

Question

I have an emergency situation...

 

I have noticed that whenever I try to update my "Email Invoice Template", I get the following error...

Quote

Template parse error: unexpected character in filters : "&" at 4465

=======

I was able to narrow down that the "offending" line is...

{invoice.total | currency_format " USD "}

It seems the ...

"

... characterset is what is causing the issue.

I even tried using...



... as an alternative, but that did not work either.

=======

This issue prevents me from updating my template.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

UPDATE:

I found a PARTIAL workaround for this...

I went back into the HTML source code of the template and typed in the quotation marks ( not the HTML charsets ).

So that it looks like...

{ invoice.total | currency_format "USD" }

...inside the templates HTML source code.

===========

Here is where the issue lies :

After successfully saving the change, if I try to update the template a 2ND time, I end up with the SAME charset error.

For some odd reason the quotation marks that surround THIS line of code gets converted into a charset after the 1ST save, making it so that I have to constantly update THAT line of code before saving the template.

===========

FYI - Nowhere else within the template's HTML code do I have this issue where quotation marks are used ( whether as HTML charsets, or not ) with other lines of code or word content.

This issue is ONLY occurring with THIS line of code.

===========

Please reply on how I can resolve this issue.

Link to comment
Share on other sites

  • 0

This is not a behavior I encounter with the WYSIWYG editor. However, I recall you had mentioned updating the editor in the past (e.g. as mentioned here) and I wonder if those updates led to this issue. You might want to try removing your changes temporarily and retesting this behavior in Blesta to see if you still encounter it with the default Blesta WYSIWYG.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...