I have problems with handling backslashes in template tags and templates themselves. When PHPLib's template class processes a page with several backslashes there is a problem, for example two slashes (\\) become one (\). Should I escape this symbols by doubling them or there are other ways to deal with this?
Thank you!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
But are there other ways to deal with this, it seems to break the rendering of the pages and make HTML standards hard to meet when double quotes are escaped and sometimes sent to the browser as double quotes and sometimes escaped quotes.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have problems with handling backslashes in template tags and templates themselves. When PHPLib's template class processes a page with several backslashes there is a problem, for example two slashes (\\) become one (\). Should I escape this symbols by doubling them or there are other ways to deal with this?
Thank you!
it seems phplib runs several (unpredictable number) passes when it processes templates. Any other suggestions?
But are there other ways to deal with this, it seems to break the rendering of the pages and make HTML standards hard to meet when double quotes are escaped and sometimes sent to the browser as double quotes and sometimes escaped quotes.
This was a bug in the template class and has been fixed.