Jump to content

Problem with escape:htmlall


Recommended Posts

unfortunately it is necessary in this case.

what kind of software you use to edit .tpl files? Im asking because in many editors have got features called "mass replace"

 

in the notepad++ you can do it with one mouse click:

 

 

2. Bulk find & replace

 

If you want to replace a certain entry in your file(s), Notepad++ is your (wo)man. Not only can it instantly search through all entries in a file, it can search all open files or even all files in a directory (including sub-directories), and then, only matching certain file types.

 

notepadpp-find-2.jpg

Link to comment
Share on other sites

well, you've got right but the issue is really weird. for example, sometimes it appears, sometimes not. I don't know exactly what, but I think that this isn't related to prestashop only. I think that it is related to the server configuration

Link to comment
Share on other sites

  • 3 months later...

I have the same issue about cyrillic symbols. 

My hosting prodiver assured me that no any additional encoding is performed on their side. 

 

So I have checked the htmlall behaviour of different PS versions on two different servers.

 

It comes out that in PS 1.5.3.1 there is no problem displaying cyrillic characrers using htmlall.

But in PS 1.5.5.0 and higher, cyrillic symbols are escaped if you try to display them using htmlall.

 

Manually replacing all "htmlall" in .tpl files is not the best option.

 

So I am still looking for a solution.

 

Would be glad to hear any advices on that topic

Edited by Amazzing (see edit history)
Link to comment
Share on other sites

and if any other solution doesn't exist?

why you think that it isn;t best option?

 

By saying 'it is not the best option' I meant, the best option would be to find and deal with the reason for that behaviour.

 

But as long as we don't know the reason, we have to manually replace "htmlall"-s.

 

And I think we cannot just make a bulk replace in all tpls, because sometimes htmlall is used in links and input values. And it is used there for some reason. So I don't exactly know what might be the effet of deleting it. 

 

So we have to go throrugh tpl files and find appropriate tags that should be modified.  

 

This is what I did for my current project.

 

But for future projects I would like to find a better option.

Link to comment
Share on other sites

×
×
  • Create New...