Git Product home page Git Product logo

Comments (3)

wxiaoguang avatar wxiaoguang commented on June 20, 2024 1

Thank you for your help. I think you are right. The project is very old and was using Smarty v2 long time ago. It has been running with Smarty v3/v4 for long time. Maybe the template with the old syntax is seldom used, so I didn't notice the error until today.

I will do more checks, thank you again.

from smarty.

wisskid avatar wisskid commented on June 20, 2024

Do you know what the latest version is where your syntax still works? Thanks.

from smarty.

wisskid avatar wisskid commented on June 20, 2024

It's not a regression, at least not a recent one. I tested it against 3.1.46 with the same result. You're probably coming from Smarty v2? The v2 > v3 upgrade guide doesn't specifically mention your codestyle, but it does mention that Smarty 3 has a new syntax, which is stricter. It also mentions whitespace from being important now. Since v3 has been out over a decade now, we will stick to the v3 syntax.

from smarty.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.